note 90427 added to function.mail

From: Date: Wed, 22 Apr 2009 00:59:55 +0000
Subject: note 90427 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-153562@lists.php.net to get a copy of this message
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? ---- Server IP: 208.69.120.35 Probable Submitter: 71.56.251.100 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/90427 Del: integrated -- https://master.php.net/note/delete/90427/integrated Del: useless -- https://master.php.net/note/delete/90427/useless Del: bad code -- https://master.php.net/note/delete/90427/bad+code Del: spam -- https://master.php.net/note/delete/90427/spam Del: non-english -- https://master.php.net/note/delete/90427/non-english Del: in docs -- https://master.php.net/note/delete/90427/in+docs Del: other reasons-- https://master.php.net/note/delete/90427 Reject -- https://master.php.net/note/reject/90427 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#153562) next »