HTML image not showing in Gmail

后端 未结 12 1156
难免孤独
难免孤独 2020-11-27 17:42

I\'m sending an e-mail newsletter in HTML. Inside the HTML I have something like

12条回答
  •  Happy的楠姐
    2020-11-27 17:53

    My issue was similar. This is what my experience has been on testing the IMG tag on gmail (assuming most of the organization's would have a dev qa and prod server.)

    I had to send emails to customers on their personal email id's and we could see that gmail would add something of its own like following to src attribute of img tag. Now when we were sending these images from our dev environment they would never render on gmail and we were always curious why?

    https://ci7.googleusercontent.com/proxy/AEF54znasdUhUYhuHuHuhHkHfT7u2w5zsOnWJ7k1MwrKe8pP69hY9W9eo8_n6-tW0KdSIaG4qaBEbcXue74nbVBysdfqweAsNNmmmJyTB-JQzcgn1j=s0-d-e2-ft#https://www.prodserver.com/Folder1/Images/OurImage.PNG
    

    so an image sent to my gmail id as following never worked for me

    
    

    and our dev server we can't render this image by hitting following URL on Chrome(or any browser).

    https://www.devserver.com/folder1/folder2/myactualimage.jpg
    

    now as long as the src has www on it worked all the time and we didnt had to add any other attributes.

    
    

提交回复
热议问题