diff --git a/src/Senders/FluentEmail.Smtp/SmtpSender.cs b/src/Senders/FluentEmail.Smtp/SmtpSender.cs index ad511e0a..fb729c81 100644 --- a/src/Senders/FluentEmail.Smtp/SmtpSender.cs +++ b/src/Senders/FluentEmail.Smtp/SmtpSender.cs @@ -149,6 +149,7 @@ private MailMessage CreateMailMessage(IFluentEmail email) System.Net.Mail.Attachment a = new System.Net.Mail.Attachment(x.Data, x.Filename, x.ContentType); a.ContentId = x.ContentId; + a.ContentDisposition.Inline = x.IsInline; message.Attachments.Add(a); });