If you are having issues regarding inline images not showing up on html
e-mails in clients other that Outlook, it is because Zend_Mail sets the
Content-Type to multipart/mixed by default when attaching images. It needs
to be multipart/related. To fix it, you have to set:

$mail->setType(Zend_Mime::MULTIPART_RELATED);

That will do the trick. It will also fix the inline images from showing up
as attachments on Outlook.

Hope it helps.

Cheers,


Antonio
-- 
View this message in context: 
http://www.nabble.com/Zend_Mail---Zend_Mime-and-inline-images-%28html-email%29-tf4730834s16154.html#a13527292
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to