Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Email template logo does not display in outlook or gmail #8386


User avatar
0
southwestre created

The logo is not appearing in HTML emails, even after I changed the template from using the GetLogo method to a static link to the production site image. When I save the email as an HTML file and open it the logo is displayed correctly. Does anyone have any pointers on this?


4 Answer(s)
  • User Avatar
    2
    rickfrankel created

    Most email clients don't display external images by default these days. One approach is to not link to an external image and base64 encode the image directly into the template.

    I'm about to make the same change to my templates as well.

  • User Avatar
    0
    smry created

    @rickfrankel, let me know if that works - I was having this issue but have not gotten around to review the issue

  • User Avatar
    0
    maliming created
    Support Team

    Base64 image is better than using an url.

    https://github.com/aspnetzero/aspnet-zero-core/issues/2297#issuecomment-478853601

    The benefit of url images is that you can update it at any time.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because of no recent activity. Please create a new issue if you are still having this problem.