Closed sprankhub closed 9 years ago
Hi Simon, thanks for the pull request in reply to
The addAttachment method is not available on objects of type Mandrill_Message, but the createAttachment method is. I do not see any disadvantage by using createAttachment.
We did initially use createAttachment - the reason we switched to addAttachment is that it allows us to set the encoding to UTF-8 which createAttachment can't do. If I remember correctly it became an issue on the file name in some email clients. Are you able to rewrite this so that createAttachment is used on the Mandrill object and stays as is if not?
Here you go...
Great - thanks!
setType
method is not available on objects of typeMandrill_Message
.addAttachment
method is not available on objects of typeMandrill_Message
, but thecreateAttachment
method is. I do not see any disadvantage by usingcreateAttachment
.