shawnmclean / Mandrill-dotnet

.NET wrapper for Mandrill
Other
203 stars 107 forks source link

No spam_report on type WebHookMessage as spec states there should be #204

Open DrLeh opened 6 years ago

DrLeh commented 6 years ago

The format listed here: https://mandrill.zendesk.com/hc/en-us/articles/205583207-What-is-the-format-of-inbound-email-webhooks- shows there should be a spam_report object on the WebHookMessage, but it is not present in the code: https://github.com/shawnmclean/Mandrill-dotnet/blob/master/src/Mandrill/Models/WebHookEvent.cs#L302

Is there a reason for this or is it an omission?

shawnmclean commented 6 years ago

Hey @DrLeh, properties may be missing from certain response objects. You can add them and submit a PR when you find cases like this.