Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Email body with img tag cid:image works for Outlook but not in other like gmail

SATHEESH S KUMARMar 18 2020 — edited Mar 20 2020

Dear all,

I am using apex_mail (in Apex 19.1) to send emails with an attachment.

html mail templates are inline with images (like header image , signature and logos etc.).

an example image setting in my html template is below

<td class="main_cta"><img src="cid:HEADER_BANNER.png" width="566" height="213" alt="banner" title="Banner" style="display:block"></td>

It works well for Outlook, but, for instance, not in Gmail . Gmail shows the images as an attachment.

Is there a way to fix this issue with Apex_mail.

Can I change the Content-Disposition:attachment to Content-Disposition:inline

Regards

Satheesh Kumar

This post has been answered by InoL on Mar 18 2020
Jump to Answer
Comments
Post Details
Added on Mar 18 2020
1 comment
1,570 views