I have created an Email template using HTML
and inline style from scratch. Now I need to add some images, at this point it's not possible to use url because it is not hosted. I tried using base64 encoding, it worked in Apple mail client, but the images are not rendering in Gmail. Is there any way to embed image in html supported by all email clients?
Host the Image publicly in Google Drive by sharing the link 'public on the Web' or 'anyone with the link'. Then use this link http://drive.google.com/uc?export=view&id=FILE_ID
to get direct access to the image. You should replace the FILE_ID
with actual id from Google Drive link.
Example :
Google Drive Link : https://drive.google.com/open?id=0B7RYx63s2PFqam9PWVFrcXc1RU
Generated Link : http://drive.google.com/uc?export=view&id=0B7RYx63s2PFqam9PWVFrcXc1RU
Now you can use this link in your template.