How can I display a database image in an HTML email in OutSystems?
I am sending an email using HTML content in OutSystems. The text, styling, and formatting are working correctly, but the image stored in the database is not displaying in the received email.
I already converted the image to Base64 and used it inside the HTML tag, but the image is still not showing in the email.
Is there any specific way to display database images in HTML emails in OutSystems? Any guidance or example would be helpful.
Hi @Sanket Kavle ,
In HTML emails, Base64 images usually do not work reliably. Many email clients, especially Outlook, block or ignore inline Base64.
The safer approach is to make the image available through a public or authenticated URL and use that URL in the email HTML.
Here are some older discussions about this:
An article that could help:
Also, is there any reason why you are not using the Image widget in the email?