Re: function 'another_mail' with authentication

From: Date: Tue, 25 Oct 2005 01:51:29 +0000
Subject: Re: function 'another_mail' with authentication
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-224597@lists.php.net to get a copy of this message
Hello, on 10/24/2005 10:57 PM Etienne Finet said the following:
Can anyone give me a clue on how to change this script so it can be used with basic SMTP authentication?
SMTP authentication is not that simple. There are several authentication methods and you need to establish an authentication dialog according to what authentication methods your SMTP server supports. You may want to take a look at this class that provides a wrapper function named smtp_mail similar to the one that you wrote, except that it also implements authentication as you need. http://www.phpclasses.org/mimemessage You also need this class for the SMTP dialog: http://www.phpclasses.org/smtpclass And this class for the authentication support: 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 (#224597) next »