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


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to