diff --git a/src/Senders/FluentEmail.SendGrid/SendGridSender.cs b/src/Senders/FluentEmail.SendGrid/SendGridSender.cs index c0fb9b11..ffcc0e6c 100644 --- a/src/Senders/FluentEmail.SendGrid/SendGridSender.cs +++ b/src/Senders/FluentEmail.SendGrid/SendGridSender.cs @@ -181,7 +181,11 @@ private async Task SendViaSendGrid(SendGridMessage mailMessage, Ca { Content = await GetAttachmentBase64String(attachment.Data), Filename = attachment.Filename, - Type = attachment.ContentType + Type = attachment.ContentType, + Disposition = attachment.IsInline + ? "inline" + : "attachment", + ContentId = attachment.ContentId }; private async Task GetAttachmentBase64String(Stream stream)