I am using the PHP mail function to send mails. The mail that is sent is a HTML mail. Few of the mail clients, shows the mail in the correct format, and few other mail clients it shows in a distorted format.
The codes that we use:
Code: Select all
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "To: " . $u_name . "< " . $u_email . "> \r\n";
$headers .= "From: Admin <info@admin.com> \r\n";Code: Select all
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on
ars4.soho.aussiehq.net.au
X-Spam-Level:
X-Spam-Status: No, score=-5.8 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00,
HTML_30_40,HTML_MESSAGE,MIME_HTML_ONLY autolearn=ham version=3.0.4
<html><body><p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Dear Administrator, <br>Thanks