0 votes
by (200 points)

When we try send mail via smtp azure and use LinkedResource, then the pictures in emails are not visible. We must use Attachment with ContentDisposition.Inline = true;

https://learn.microsoft.com/en-us/answers/questions/2124178/email-inline-attachments-not-working-using-azure-c

why ?

Applies to: Rebex Secure Mail

1 Answer

0 votes
by (148k points)

Hello,
does this only happen when sending the email via Azuire SMTP service?

Does the HTML body use Content IDs to reference the linked resources, or a different approach?

When you save the e-mail before sending it, and open the saved file using MS Outlook, does it show the pictures as expected?

by (200 points)
Yes, html is fine. We have been using this for many years and now the first customer has switched to azure smtp and the images have stopped showing.
by (148k points)
That looks like the Azure SMTP modifies the mail data in some way. To find out more, save the e-mail at the receiving into a file, and compare that with the e-mail saved into a file at the sender. What is the difference?

Also, what exactly do you mean by "Azure SMTP"? Is that Microsoft 365 / Office 365 SMTP server at smtp.office365.com, or is it an SMTP relay with Azure Communication Services?
...