Re: mail() function

From: Date: Thu, 10 Feb 2005 01:47:55 +0000
Subject: Re: mail() function
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-208405@lists.php.net to get a copy of this message
Hello, on 02/09/2005 07:31 PM John Holmes said the following:
Bosky, Dave wrote:
I can't seem to get the mail function to work. Is there a way to authenticate before sending mail, I believe this is my issue.
No. Manuel will be along soon to tell you to look at the SMTP classes on phpclasses.org, though. ;) There are classes there that do this, so try them.
Thank you for the introduction, John. ;-) Dave, as John mentioned the PHP mail() function does not know how to authenticate. You may want to try this class that comes with a wrapper function named smtp_mail(). It works like the mail function but lets you set the authentication credentials as you need. 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.general (#208405) next »