Re: SMTP Authenticate
| From: | Manuel Lemos | Date: | Sat, 15 Mar 2003 17:17:06 +0000 |
| Subject: | Re: SMTP Authenticate | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139795@lists.php.net to get a copy of this message | ||
Hello,
On 03/15/2003 01:43 PM, Aitor Cabrera wrote:
Hi, I'm trying to use the mail() funtion but I can only use this funtion the email myself (the same email that I put in the php.ini file). I f I try to email someone else I get an error 530 delivery not allowed to non-local recipient, try authenticating -7 How can I authenticate myselft? Which is the SMTP comand to do it and how do I use it? Thanks!!mail() does not support authentication. You may want to try this class that lets you specify the authentication credentials and comes with a wrapper function named smtp_mail() that sends the message to a SMTP server that you specify: http://www.phpclasses.org/mimemessage You also need this class to do the actual SMTP delivery: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos