On 03/13/2004 12:54 AM, Beauford wrote:
How would I set up PHP to use SMTP authentication when I send an email. For example, in MS Outlook I have authentication set to use the same settings as my incoming mail. I have searched around but haven't found anything that deals with this.
The mail function does not support authentication. You may want to try this class that comes with a wrapper function named smtp_mail(). It emulates the mail() function but lets you specify the authentication credentials:
http://www.phpclasses.org/mimemessage
You also need this:
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