On 07/03/2002 12:57 AM, Balaji Ankem wrote:
> Hi friend,
>  Will mail()function work for SMTP servers which needs authentication?
>  If so how can pass the username and password to my SMTP server.

No, you need to communicate directly with the SMTP server to 
authenticate. mail() has no support for authentication.

You may want to try this PHP Class that does exactly what you need:


It is better used in conjunction with this:



Manuel Lemos

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

Reply via email to