Re: Mail question

From: Date: Sat, 19 Feb 2005 18:48:44 +0000
Subject: Re: Mail question
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-38614@lists.php.net to get a copy of this message
Hello, on 02/14/2005 04:12 PM ReClMaples said the following:
I have a quick, probably easy to answer question. I am trying to add the ability to email from like a quest book or a calendar event and get an authentication error in my error log. I can only believe that this is due to my smtp server needed to know my login and password. Is there a way I can pass this in the php.ini file? I am using apache 2.0 and PHP 4.03 on a windows xp machine. If this can be done, please let me know, any other suggestions would be welcomed.
The mail function does not support SMTP authentication. You may want to try this class that comes with a wrapper function named smtp_mail(). It is a direct replacement of the mail() function that lets you send messages to any SMTP server that requires authentication. http://www.phpclasses.org/mimemessage You also need these: http://www.phpclasses.org/smtpclass http://www.phpclasses.org/sasl -- 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

« previous php.db (#38614) next »