yep. I have this.
The mail I'm sending from is now "Admin@tecfan.no-ip.org" to "somvaan@gmail.com"
My local domains looks like this:
tecfan tecfan
tecfan tecfan.no-ip.org
tecfan [81.167.170.12]
still get 553.
Warning: mail() [function.mail]: SMTP server response: 553 We do not relay non-local mail, sorry. in C:\xampp\htdocs\spill\log.php on line 110
$subject = "Ditt brukernavn og passord";
$body = "Brukernavn: " . $name . "\nPassord: " . $pw . "\n\nLogg på med dette passordet her: <a href=\"http://tecfan.no-ip.org/spill\">http://tecfan2.no-ip.org/spill</a>. Husk på å endre passordet når du har logget inn.";
$headers = "From: Admin@tecfan.no-ip.org";
if (mail($mail, $subject, $body, $headers)) {