lukencode / FluentEmail

All in one email sender for .NET. Supports popular senders (SendGrid, MailGun, etc) and Razor templates.
https://lukelowrey.com/dotnet-email-guide-2021/
MIT License
3.02k stars 434 forks source link

Make sure we set the content disposition on attachments for SendGrid #336

Open spewu opened 2 years ago

spewu commented 2 years ago

Currently, it is impossible to use inline attachments with SendGrid, because the SendGridSender ignores the IsInline & ContentId properties on attachments.

So, this simple change is to allow sending inline attachments with SendGrid