Mail function giving SMTP error?
Posted: Fri Apr 07, 2006 8:52 pm
I'm using http://www.ripway.com as my host for PHP files. I used this code:
(Of course, I'm using a real e-mail address in the real code).
However, I keep getting the error:
Does anyone know what's going on here?
-IMP

Code: Select all
<?php
mail("SOMEONE@comcast.net","My Subject","My Body");
?>However, I keep getting the error:
(The e-mail is putting out the actual e-mail I used to send it, not SOMEONE@comcast.net)Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for SOMEONE@comcast.net in \\192.168.1.16\webfiles\files\2005-12\568307\t.php on line 2
Does anyone know what's going on here?
-IMP