dpacaud / mandrill

This is a Grails plugin for the mandrill (http://www.mandrillapp.com) REST API
11 stars 13 forks source link

Adding attachments #11

Closed cjf closed 9 years ago

cjf commented 9 years ago

What is the proper format for attachments? The content property on MandrillAttachment is String, but it converts it to binary so when it arrives at the destination it is unreadable.

cjf commented 9 years ago

Scratch that. Figured it out...

theString.bytes.encodeBase64().toString() solves it.