1 2 3 4 5 6 7 8 9 10 11 12 | $body = "<!DOCTYPE html>\n". "<html>\n"; $body .= "<body style=\"font-family:Verdana, Tahoma, arial, sans-serif; font-size:12px; color:#666666;\">\n"; $body .= $message; $body .= "\n\n". "<hr><p style=\"font-size=5; font-color=grey;\">Unsubscribe within <a href=\"http://example.com\">your account</a></p>"; $body .= "</body>\n"; $body .= "</html>\n"; //a bit later in mail($to,$subject,$body,$headers,"-f [email protected]"); |