Anyone ever have SMTP Server response: 553 Requested action not taken: Relaying not permitted.
While trying to use the mail function I received this error. I even substituted the variables with strings and I still receive the error. I tried both double and single quotes. I am using a windows server who that implements PHP 4.3.0. Could this be that my host needs to add me to the relay list on the SMTP server. This will make sense if it is set to 'Only list below'. Well anyway this is the code I tried.
F.Y.I- Just in case you didn't know my email is written like that in an attempt to avoid spam, even though this is my spam accountPHP Code:
mail('StupidRalph2001 at yahoo dot com','My Subject','This is a test message.');