Problem: mandrill will only add attachments if there is an attachment URI pointing to a file in the filesystem. On the other hand the Mimemail module also supports passing the file content directly, we should do the same in Mandrill.
Solution: change the MandrillMailSystem:mail() method to look at $attachment['filecontent'] if $attachment['uri'] is not set.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | mandrill-attachments-2390441-1.patch | 1.68 KB | klausi |
Comments
Comment #1
klausiPatch attached.
Comment #2
kitikonti commentedhow should this work?
i have added a image to the body which looks like
<img src="sites/all/themes/my_theme/logo_mail.png" />this actually brings me no image to the mail???
Comment #3
gcbThanks klausi! Rolled into dev.