Re: smtp authentication

From: Date: Sat, 10 May 2003 14:58:55 +0000
Subject: Re: smtp authentication
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147118@lists.php.net to get a copy of this message
Hello, On 05/10/2003 11:42 AM, Tim Grote wrote:
I have problems connecting php to mailserver. I get the message: 'SMTP server response: 530 Authentication required'. Fir sure I have that authent, but how do I send my name and password to the mailserver?
The mail() function does not support authentication. You may want to try this class that comes with a wrapper function named smtp_mail() that can emulates the mail() function but supports setting the authentication credentials. http://www.phpclasses.org/mimemessage You also need this other class to do the actual SMTP delivery. http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos

« previous php.general (#147118) next »