-
-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug or breaking change for BodyBuilder.LinkedResources.Add #627
Labels
bug
Something isn't working
Comments
jstedfast
added a commit
that referenced
this issue
Dec 1, 2020
Accidentally broke this in 2.10.0 due to swapping part.FileName and part.IsAttachment assignments. Fixes issue #627
Sorry about that! I've added some new unit tests to make sure I don't break this again. |
I'll probably try to make a 2.10.1 release with this fix this week/weekend. |
Great 👍 |
Released v2.10.1 to nuget.org with this fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add a linked resource using BodyBuilder
Were added with Content-Disposition: attachment instead of Content-Disposition: inline.
Get Content-Disposition: inline.
That's what we got in MailKit ver. 2.7.0. The problem occurred after upgrading to ver. 2.10.0.
oMimeEntity = oBodyBuilder.LinkedResources.Add("Filename.png", binary)
The text was updated successfully, but these errors were encountered: