[Please do not start a new thread with a response to a unrelated message]
aa wrote:
On my local w2k/IIS5 the line
mail("ad*****@yahoo.com", "My Subject", "Line 1\nLine 2\nLine 3")
returns
Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for
ad*****@yahoo.com
What might be the reason?
This is not a PHP issue.
Your mail server configurations does not allow relaying to yahoo.com.
Check your documentation for the mail server and reconfigure it
according to your needs (or ask your system administrator to do that for
you).
Maybe you can sidetrack your mail server by specifying the sender in the
mail() command:
mail('ad*****@yahoo.com', 'test', "line 1\nline 2", 'From: me@here');
--
USENET would be a better place if everybody read: | to mail me: simply |
http://www.catb.org/~esr/faqs/smart-questions.html | "reply" to this post, |
http://www.netmeister.org/news/learn2quote2.html | *NO* MIME, plain text |
http://www.expita.com/nomime.html | and *NO* attachments. |