Re: SMTP Authentication with PHP
| From: | Manuel Lemos | Date: | Thu, 15 Apr 2004 22:07:46 +0000 |
| Subject: | Re: SMTP Authentication with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183572@lists.php.net to get a copy of this message | ||
Hello,
On 04/15/2004 02:24 PM, Mike Knittel wrote:
My SMTP server requires authentication when sending mail. How do I send SMTP authentication information when using the PHP mail() function?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 completely but lets you configure details like authentication and such. Just edit the smtp_mail.php script. 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