Plugin Swift_Plugin_FileEmbedder as attachments in outlook

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
seiko
Forum Newbie
Posts: 1
Joined: Fri Oct 31, 2008 5:05 am

Plugin Swift_Plugin_FileEmbedder as attachments in outlook

Post 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.
Post Reply