0

I am able to create an email draft using the gmail api. I'm also able to create a draft with an embedded image if the image is a real file.

The next step I want to reach is to create a draft with an embedded image where the image is just a screenshot on my clipboard. By creating the draft my html img tag looks something like

" img width="593" height="363" src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAMCAgMCAgMDAwM......"

but in gmail this part of my draft is empty.

Does someone know any solutions for this ?

Thanks a lot !

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
  • Are other images in that email showing? – mjwills Nov 16 '18 at 10:29
  • 1
    Possible duplicate of [Base64 encoded image is not showing in gmail](https://stackoverflow.com/questions/46783599/base64-encoded-image-is-not-showing-in-gmail) – mjwills Nov 16 '18 at 10:29

0 Answers0