Forum Moderators: coopster
I'm experimenting with the PHP mail function with the simplest of scripts shown here:
<?php
mail('cole@example1.us','Test email subject line','Here is the message',
"From: accounts@example2.com");
?>
I've already set up my php.ini on my local dev environment to send mail, but sometimes (not always!) when I test my script, I get this message:
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 <cole@example3.com>... Relaying denied. IP name possibly forged [210.14.45.xx] in F:\WEBDEV\_Koisis Base Directory\test_email.php on line 10.
I get this message occasionally with Microsoft Outlook as well if I'm replying to someone's email.
Does anyone know a way to fix this so I can continue my testing?
Neophyte
[edited by: jatar_k at 12:23 am (utc) on Sep. 28, 2007]
[edit reason] examplified and ip [/edit]