Posted by "Mark Rees" on 10/22/50 11:29
> 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
Navigation:
[Reply to this message]
|