PHP Classes

Hotmail incompatibility

Recommend this page to a friend!

      MIME E-mail message sending  >  MIME E-mail message sending package blog  >  How Can PHP Send Emai...  >  All threads  >  Hotmail incompatibility  >  (Un) Subscribe thread alerts  
Subject:Hotmail incompatibility
Summary:Hotmail is not parsing messages sent with email_message_class
Messages:3
Author:Francisco Caserio
Date:2008-07-31 14:03:12
Update:2008-08-04 05:22:09
 

  1. Hotmail incompatibility   Reply   Report abuse  
Picture of Francisco Caserio Francisco Caserio - 2008-07-31 14:03:12
The messages I'm sending to hotmail are not being parsed.
Hotmail writes the message as follows.
Any suggestion?


[Teste newsletter] A CASA - Newsletter #02 - Julho de 2008‏
From: A CASA museu do objeto brasileiro
Sent: Thursday, July 31, 2008 10:49:14 AM
To: xxxxxxx@hotmail.com


--91dab8b7715fccae62e87ee149224914--

  2. Re: Hotmail incompatibility   Reply   Report abuse  
Picture of Francisco Caserio Francisco Caserio - 2008-07-31 14:11:33 - In reply to message 1 from Francisco Caserio
I just noticed when I remove the following code part (where I attach the images) then hotmail receives the message correctly:

for ($j=0; $j<count($match[0]); $j++) {
$part=array(
"Data"=>$jpg[$j],
"Name"=>$j.".".$match[2][$j],
"Content-Type"=>"automatic/name",
"Disposition"=>"inline"
);
$email_message->CreateFilePart($part, $htm_part[$j]);
$part_content_id = $email_message->GetPartContentID($htm_part[$j]);
$msg = str_replace($match[0][$j], "cid:".$part_content_id, $msg);
}
$email_message->AddRelatedMultipart($htm_part);

  3. Re: Hotmail incompatibility   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-08-04 05:22:09 - In reply to message 2 from Francisco Caserio
I am not sure if that makes sense.

I do not see where you add the HTML part to the message.

Does the test_html_mail_message.php example script work for you when sending the message to the same Hotmail address?