On 03/31/2003 03:16 PM, Listuser wrote:
My ISP requires email authentication when sending emails, is the a way to set this up in PHP.
The mail function does not support authentication.
You may want to try this class for composing and sending messages that comes with a sub-class for sending directly via SMTP and supports authentication.
If you do not want to change your program much, you can use a script that comes with the class that provides a class wrapper function named smtp_mail() that emulates the mail() function but lets you specify the authentication credentials:
http://www.phpclasses.org/mimemessage
--
Regards, Manuel Lemos
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php