Hello,
On 07/22/2004 04:47 PM, Chris Hunt wrote:
anyone know how to configure php's outgoing mail to use a smtp server that requires authentication?
No, the mail() function does not support SMTP authentication even under Windows. As John correctly pointed, I have a solution that consists of a PHP Class for sending messages via SMTP that comes with a wrapper function named smtp_mail(). It works exactly like the mail() function, except that it lets you specify a SMTP server of your choice to relay the message and can authenticate if necessary, like you need. You may find the class here:
http://www.phpclasses.org/mimemessage
You also need this other class for the actual SMTP delivery:
http://www.phpclasses.org/smtpclass
--
Regards, Manuel Lemos
PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/
PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/
Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php