I am trying to use PHP to email:
The simple code to test in the web page is :
mail("[EMAIL PROTECTED]", "My Subject", "Line \nLine 2\nLine 3");
I have the php.ini configured using an email address within the domain of
the SMTP server ([EMAIL PROTECTED]). I have this domain (fcny.org) setup on
SMTP to allow for relaying email. If I leave the code as trying to email to
someone outside the domain (as seen above), it gives this:
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1
Unable to relay for [EMAIL PROTECTED] in
c:\inetpub\wwwroot\classes\html\Mail.php on line 8
Any thoughts would be greatly appreciated.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php