note 41102 deleted from ref.mail by didou

From: Date: Tue, 30 Mar 2004 08:44:03 +0000
Subject: note 41102 deleted from ref.mail by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-67367@lists.php.net to get a copy of this message
Note Submitter: sdaskin@yahoo.com ---- <?php /* recipients */ $to = "nobody@example.com" ; /* subject */ $subject = "Test mail"; /* message */ $message = ' <html> <head> <title>This is easy test</title> </head> <body> <p>WHY!why!WHY!</p> </body> </html> '; $sender = "mymail@anylongdomain.com"; // if i send with my long domain sender email nothing goes ? there is a long domain error //$sender = "mymail@sort.com"; if i use sort domain in serder it goes ! /* To send HTML mail, you can set the Content-type header. */ $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/html; charset=iso-8859-1\r\n"; /* additional headers */ $headers .= "To: nobody <nobody@example.com>\r\n"; $headers .= "From: webmaster <".$sender.">\r\n"; /* and now mail it */ mail($to, $subject, $message, $headers); ?> can any body tell me what is the problem with long domain ? i get this error in php 4.3.3 and php 4.3.4

« previous php.notes (#67367) next »