Subject mail() problem
Author Johan van Zyl
Hi All
I use sample code from PHPFreaks i.e.

mail($email_address, $subject, $message, "From:
Webmaster<johan@...>\nX-Mailer: PHP/" . phpversion());

When the e-mail address is johan@... (hosted by my telco/isp) it
When I try johan@... (via godaddy) it does not?

If I send e-mails to those two addresses, using Outlook, they both work?

Please feel free to try and register here.
so that I can see if it works with other e-mail addresses.

I did look this up in the manual - but I am still baffled.

Johan van Zyl
JVZ Systems CC
Box 3469
Somerset West
+27 (0)82 875 4238
+27 (0)21 851 7205
Fax 088 021 852 2387

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
Version: 6.0.799 / Virus Database: 543 - Release Date: 2004/11/19