Re: mail() problem
| From: | Jon-Eirik Pettersen | Date: | Wed, 24 Nov 2004 23:31:40 +0000 |
| Subject: | Re: mail() problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202805@lists.php.net to get a copy of this message | ||
Johan van Zyl wrote:
Hi All I use sample code from PHPFreaks i.e. mail($email_address, $subject, $message, "From: realcorp.net Webmaster<johan@jvz.co.za>\nX-Mailer: PHP/" . phpversion()); When the e-mail address is johan@jvz.co.za (hosted by my telco/isp) it works. When I try johan@realcorp.net (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. http://realwebonline.myftp.org/mc/register.php 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. ThxIs @jvz.co.za hosted on the same network as the web-server? Seems to be a problem with relaying on the mail-server.