note 34251 rejected from function.mail by betz

From: Date: Sat, 19 Jul 2003 20:48:14 +0000
Subject: note 34251 rejected from function.mail by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52396@lists.php.net to get a copy of this message
Note Submitter: bogi@kefche.com ---- On this example HTML mail can't read correct in Microsoft Outlook. Can you help me. ? ################################# $to = "name <test@kefche.com>"; $subject = "hallo"; $message = " <html> <head> <title>test</title> </head> <body> test text test text test text test text </body> </html> "; //$headers = "MIME-Version: 1.0\r\n"; //$headers .= "Content-type: text/html; charset=windows-iso-8859-1\r\n"; //$headers .= "From: ServerName <postmaster@example.com>\r\n"; mail($to, $subject, $message, $headers); #################################

« previous php.notes (#52396) next »