Embedded files and attachments
Posted: Wed Mar 25, 2009 6:50 am
I'm having trouble attaching files and embedding images at the same time.
I'm using swift version 3.3.3, php4, the fileEmbedder plugin for multiple images within the document (dynamic content from user) and the following line of code within a while loop: $message->attach( new Swift_Message_Attachment( new Swift_File('/my/path/to/file/$fileId . $fileExt), $fileName));
The problem is you can change the content or attachements but only one of them gets through.
Examples:
Attachments with no embedded files, works.
Embedded files with no attachments, works.
Both at the same time, only the attachments come through. The embedded files in this case are shown in the email with the full server file path, not embedded
I'm using swift version 3.3.3, php4, the fileEmbedder plugin for multiple images within the document (dynamic content from user) and the following line of code within a while loop: $message->attach( new Swift_Message_Attachment( new Swift_File('/my/path/to/file/$fileId . $fileExt), $fileName));
The problem is you can change the content or attachements but only one of them gets through.
Examples:
Attachments with no embedded files, works.
Embedded files with no attachments, works.
Both at the same time, only the attachments come through. The embedded files in this case are shown in the email with the full server file path, not embedded