Trying to send a HTML email with PHP mail (I know thats not the best way but it still should work) Code: $headers = "MIME-Version: 1.0" . "\r\n"; $headers = $headers."Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers = $headers."From:".$EmailFrom."\r\n"; $to=$EM; $subject=$EmailSubject; $message='<html><body>'.stripslashes(trim($WinMessage)).'</html></body>'; // Mail it mail($to, $subject, $message, $headers); the varable $WinMessage contains the string:
HTML Mail assistance
4
Trying to send a HTML email with PHP mail (I know thats not the best way but it still should work)
the varable $WinMessage contains the string:
Code:
$headers = "MIME-Version: 1.0" . "\r\n"; $headers = $headers."Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers = $headers."From:".$EmailFrom."\r\n"; $to=$EM; $subject=$EmailSubject; $message='<html><body>'.stripslashes(trim($WinMessage)).'</html></body>'; // Mail it mail($to, $subject, $message, $headers);
- h4x0r
- brutecky
- hngems
Next Topics on Trending Feed
-
4