Re: mail() with port & authentication

From: Date: Thu, 06 Oct 2005 09:24:10 +0000
Subject: Re: mail() with port & authentication
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-223687@lists.php.net to get a copy of this message
> Do I need to use Pear to specify port 587 and authentication when > sending mail? I could not find any way to do it using mail(). Windows or Unix? On Windows you can set the port by setting smtp_port in php.ini. Unix doesn't appear to have a direct equivalent, but you might be able to do something with sendmail_path? As for SMTP authentication, when I wanted to do this on Windows I went for phpmailer http://phpmailer.sourceforge.net/ Hope this is of some help Mark

« previous php.general (#223687) next »