ActiveCampaign / postmark-dotnet

A .NET library for the Postmark API
http://developer.postmarkapp.com/
Other
50 stars 46 forks source link

Add ContentID fields to attachments #9

Closed Manta99 closed 11 years ago

Manta99 commented 11 years ago

could you please add the "ContentID" field to the PostmarkMessageAttachment class and change the AddAttachment methods accordingly?

Postmark supports inline images for html messages, but then the ContentID field has to be set on attachments. See also the example on the PostMarks API documentation:

http://developer.postmarkapp.com/developer-build.html#inlineattachments

Many thanks in advance,

Best Regards, Manta99

jptoto commented 11 years ago

@Manta99 I added this in tonight. Updated on Nuget. Let me know if you see any problems with the new release.