Re: SMTP authentication
| From: | Manuel Lemos | Date: | Tue, 10 Feb 2004 02:39:31 +0000 |
| Subject: | Re: SMTP authentication | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32872@lists.php.net to get a copy of this message | ||
Hello,
On 02/09/2004 11:40 AM, Marco A. Ortiz wrote:
I want to ask you, how I must setup my PHP.INI file, to send e-mail from my Web Site if my SMTP server requires authentication. Otherwise, I want to know if exits some kind of “public” SMTP sever that I could use.No, the mail() function does not SMTP authentication. You may want to use this class that comes with a wrapper function named smtp_mail() that works like mail() except that it does let you specify the authentication credentials: http://www.phpclasses.org/mimemessage http://www.phpclasses.org/smtpclass -- Um abraço, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html