mnailgun icon indicating copy to clipboard operation
mnailgun copied to clipboard

Display Names are Ignored When Sending Mail

Open robcthegeek opened this issue 14 years ago • 5 comments

Hey,

I came across this issue while putting together a project for a client.

I updated the display name via MailAddress("[email protected]", "My App") - but got baffled when it didn't show up in OSX Mail.

So, I came along to check out the code (god bless open source) and came across this - we're only passing the mail address along to the API call:

new SimpleFormPart("from", mailMessage.From.Address)

Having checked the API Docs for MailGun, it seems to support 'from' display names fine - their cURL sample worked fine for me.

Any chance we can ge this updated? I will try and get a patch put together myself if I can find time!

robcthegeek avatar Nov 28 '12 11:11 robcthegeek

Hey Rob,

Can't believe I missed that :-). I'll try to update this today, if not tomorrow. If you don't beat me to it ;-).

G.

typesafe avatar Nov 28 '12 11:11 typesafe

No problem - easy thing to miss!

Thanks so much, will try and beat you to it - got a lot on, release looming! ;)

robcthegeek avatar Nov 28 '12 11:11 robcthegeek

Hey Rob,

Just fixed it. You can upgrade to 0.2.2 of the nuget package.

Could you let me know if it's ok?

G.

typesafe avatar Nov 30 '12 17:11 typesafe

Sorry, that would be version 0.2.3

typesafe avatar Nov 30 '12 17:11 typesafe

Hey Gino!

Sorry for late reply - finally got around to testing and deploying this. ALL GOOD! (in 0.2.3)

Thanks so much for the speedy turnaround, really appreciated!

robcthegeek avatar Dec 04 '12 12:12 robcthegeek