Page 1 of 1

Plugin Swift_Plugin_FileEmbedder as attachments in outlook

Posted: Fri Oct 31, 2008 5:13 am
by seiko
I have the following problem. I integrated Swift-3.3.3-php5 into a project which needs to send a mail with embedded images. If i use the next piece of code in my project and i send it from our test-environment it works correctly, embedded images showing in outlook:

Code: Select all

 
$mailer->attachPlugin(new Swift_Plugin_FileEmbedder(), "file_embedder");
 
When i migrate the project to our production server with no modification to the code, outlooks embedds the images but display's all the images as attachments. Pretty annoying. Anyone knows why? and how to fix this?

Thanks in advance.