Skip to content

Commit

Permalink
Add contentid to postmark message attachments when converting from Sy…
Browse files Browse the repository at this point in the history
…stem.Mail
  • Loading branch information
atheken committed Apr 9, 2015
1 parent b882246 commit 4cd2b7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/Postmark.Convenience/Postmark.Convenience.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
<Name>Postmark.PCL</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="FodyWeavers.xml" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
Expand Down
3 changes: 2 additions & 1 deletion src/Postmark/Model/PostmarkMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ public PostmarkMessage(MailMessage message)
{
Name = attachment.Name,
ContentType = attachment.ContentType.ToString(),
Content = Convert.ToBase64String(content)
Content = Convert.ToBase64String(content),
ContentId = attachment.ContentId
})
{
Attachments.Add(item);
Expand Down

0 comments on commit 4cd2b7d

Please sign in to comment.