typesafe / mnailgun

A simple .Net wrapper library for the Mailgun API that allows you to send messages, create web hooks, manage mailboxes, etc. with minimal effort.
Other
35 stars 25 forks source link

AlternateViews Ignored When Sending Mail #3

Closed robcthegeek closed 11 years ago

robcthegeek commented 11 years ago

Hello again Gino!

So, we came across another minor issue with the SendMailCommand - here.

new SimpleFormPart(mailMessage.IsBodyHtml ? "html" : "text", mailMessage.Body)

See that it simply checks IsBodyHtml to determine if to send HTML or Text parameters to the MailGun API? In the API Docs we are able to send both.

I'm hoping to have a bash at this later today and get a merge request across to you.