Re: mail() with port & authentication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux