Hi,
I have a newsletter script . The script sends a MIME e-mail to about 150 addresses . When I add a logo, the HTML email get a spam-level of 5, and recipients using antispam don't receive the email. The header of the email looks like this :
X-Spam-Score: 4.908 (HTML_IMAGE_ONLY_04,HTML_MESSAGE,MISSING_DATE,MSGID_FROM_MTA_ID)
X-Spam-Level: !!!!
X-Antivirus: AVG for E-mail 7.5.446
Do you have any idea to avoid this span level?
here is the code I use to send the email :
$headers = array (
'From' => " <" .$from.">",
'To' => $to,
'Subject' => $subject);
$mime = new Mail_mime($crlf);
$mime->setTXTBody($txt);
$mime->setHTMLBody($html);
$mime->addHTMLImage('/logo.gif', 'image/gif');
$msg = $mime->get();
$headers = $mime->headers($headers);
$smtp = Mail::factory('smtp',
array ('host' => $host,
'port' => 587,
'auth' => true,
'username' => $username,
'password' => $password,
'timeout' => 30)
);
$mail = $smtp->send( $to, $headers, $msg);