On 03/05/2003 11:07 PM, Jason Hawkins wrote:
Hi, can anyone help?? I am trying to use the mail() function. It works for addresses that are internal on the intranet - but as soon as I try sending to an external address such as [EMAIL PROTECTED] I have problems with the folllowing error message: SMTP server response: 550 Relaying denied
This most likely means that you need to authenticate to relay the message. The mail() function does not support authentication. You may want to try this class to pass the authentication credentials:
http://www.phpclasses.org/smtpclass
You may also want to try this other class that comes with sub class to send message via SMTP using the class above:
http://www.phpclasses.org/mimemessage
--
Regards, Manuel Lemos
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php