note 90426 deleted from book.mail by danbrown
| From: | danbrown@php.net | Date: | Wed, 22 Apr 2009 12:44:52 +0000 |
| Subject: | note 90426 deleted from book.mail by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-153573@lists.php.net to get a copy of this message | ||
Note Submitter: info [at] websol [dot] hu
----
I do have some problem with the mail() function...
$headers = "MIME-Version: 1.0\r\n";
$headers.= "Content-Type:text/html; charset=iso-8859-2\r\n";
$headers.= "From:".$from."\r\n";
$headers.= "Reply-To:".$reply."\r\n";
$headers.= "Cc:".$CC."\r\n";
$headers.= "Bcc:".$BCC."\r\n";
// ini_set('do_not_reply', 'do_not_reply@domain.hu');
mail($to,$subject,$body,$headers,"-fdo_not_reply@domain.com");
------
the example works fine above, but if I change the last part of the mail() for example:
mail($to,$subject,$body,$headers,"-fdo_not_reply@domain.hu");
then my mail does not leave the server at all.
so what could be the problem using a two characters "regio code" like ".hu"
instead of using a three character ones like ".com"?
How come the ".com" works and the ".hu" is not?
And trust me the ini_set does not help eather.
Any thoughts?