Base64 Image does not render in Outlook

Anonymous
2021-12-29T06:01:40+00:00

We are using SendGrid to send emails to the Outlook platform. But, designed the email template using SendGrid dynamic template.

We have a base64 image and we used it in the email template.

Then, we've tested it by sending the mail to Outlook. But, the image is not rendered in the mail that the user received in Outlook.

In the email template, we used base64 like below,

<img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA4QAAAFKCAIAAADKUQaBAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAP+lSURBVHhepP1p32zb"/>

Could you please suggest to us the solution to render Base64 Image in the email template for Outlook?

Outlook | Windows | Classic Outlook for Windows | For home

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2021-12-29T12:50:11+00:00

    Hi Mac,

    I was implemented one HTML email that has an image tag with an src base64 image. I used this HTML for my application email notification and I've sent it to my outlook email for testing But, the base64 image does not render in the Outlook desktop app & Outlook web.

    I used pure table tr td span p img tags in my HTML email design. Everything rendered fine in Gmail but not in Outlook. CSS styles are not applied in Outlook.

    What CSS Style should I use for table space, table margin, table-border, table width, in Outlook?

    This is what I received in my outlook,

    Could you please tell us how to render base64 image and table styles for Outlook?

    Currently, I am developing an HTML email template design for Outlook.

    Expected UI in Outlook,

    Image

    Regards,

    Rajesh Rajendiran

    Was this answer helpful?

    0 comments No comments
  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  3. Anonymous
    2021-12-29T08:34:17+00:00

    Hi Rajesh,

    Greetings.

    Thank you for raising your concern in this community.

    II think that there might be a compatibility issue if even in Gmail it is not working.

    First Could please confirm if the emails was received from outlook desktop or outlook on the web. please make sure to check the both situations to see if there is any difference.

    Also, Is there any difference when sending the Base64 image without using the template?

    Using your replies I will make a test from my side to see how it goes and give you the proper advice.

    Please let me know if the SendGrid you are using is the connector SendGrid - Connectors | Microsoft Docs

    I will be waiting for your reply for further assistance.

    Kind regards,

    Mac

    Was this answer helpful?

    0 comments No comments