PHP: Send an HTML formatted email
Send an HTML formatted email. Supports all HTML formatting
$messagetext = 'Message body
with HTML formatting'; $mail_to = ''; $subject = 'My Subject'; $headers = "Content-type: text/html; charset=utf8 \r\n"; $headers .= "From: <>\r\n"; mail($mail_to, $subject, $messagetext, $headers);
0 Comments