AshleyMedway / MailJet.NET

.NET Client for MailJet
MIT License
8 stars 11 forks source link

Add additional properties to transactional messages #22

Closed rallman closed 7 years ago

rallman commented 7 years ago

Used to send additional Mj-* properties in transactional email.

I needed to send more properties on a transactional send. After coding this, I saw that #21 included one of the additional properties (but not all). It's up to you on the approach you would want to take. One option is just to create class properties for each of the Mj-* options documented in the link below. Another is to expose the common ones and keep an optional way to add additional ones. I'm happy to modify this to match the style of #21.

See (https://dev.mailjet.com/guides/#send-api-json-properties) for options.

rallman commented 7 years ago

Hello Ashley, I'm about to spend the time to publish a private nuget for the fork so I can use my changes in two projects. Before doing that, is there any chance that the PR will get merged. I'm willing to rework it as you see fit.

Thanks