note 90426 added to book.mail

From: Date: Wed, 22 Apr 2009 00:55:45 +0000
Subject: note 90426 added to book.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-153561@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/book.mail.php Edit -- https://master.php.net/note/edit/90426 Del: integrated -- https://master.php.net/note/delete/90426/integrated Del: useless -- https://master.php.net/note/delete/90426/useless Del: bad code -- https://master.php.net/note/delete/90426/bad+code Del: spam -- https://master.php.net/note/delete/90426/spam Del: non-english -- https://master.php.net/note/delete/90426/non-english Del: in docs -- https://master.php.net/note/delete/90426/in+docs Del: other reasons-- https://master.php.net/note/delete/90426 Reject -- https://master.php.net/note/reject/90426 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#153561) next »