dpacaud / mandrill

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

Add attachment support. #5

Closed Jimbo1167 closed 10 years ago

Jimbo1167 commented 10 years ago

Hey dpacaud,

It's me again, I have another outstanding pull request out for the mandrill plugin, just wondering if there's anything I can do to get that merged up.

Thanks,

James Schindler

On Tue, Mar 4, 2014 at 9:10 AM, dpacaud notifications@github.com wrote:

Merged #5 https://github.com/dpacaud/mandrill/pull/5.

Reply to this email directly or view it on GitHubhttps://github.com/dpacaud/mandrill/pull/5 .

dpacaud commented 10 years ago

Hey James,

sorry for the delay, I had an accident which impacted my ability to merge your request :(

It has been merged now and the plugin has been published with your latest modifications.

Regards, --  Damien

Le 25 mars 2014 à 19:42:02, James Schindler (notifications@github.com) a écrit:

Hey dpacaud,

It's me again, I have another outstanding pull request out for the mandrill plugin, just wondering if there's anything I can do to get that merged up.

Thanks,

James Schindler

On Tue, Mar 4, 2014 at 9:10 AM, dpacaud notifications@github.com wrote:

Merged #5 https://github.com/dpacaud/mandrill/pull/5.

Reply to this email directly or view it on GitHubhttps://github.com/dpacaud/mandrill/pull/5 .

— Reply to this email directly or view it on GitHub.

cjf commented 9 years ago

So how does one add an attachment? What is the proper format for a MandrillAttachment if I'm trying to create/add csv content? Just putting in normal string data doesn't seem to work. The attachment ends up being delivered as binary jibberish.

Jimbo1167 commented 9 years ago

@cjf The content of the attachment as a base64-encoded string.

For more info you can take a look at the API docs here: https://mandrillapp.com/api/docs/messages.JSON.html