Hello!
I have base64 string.
When i send html body with
attachment:
[
{data:"<html> <body> <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAFA3PEY8..."> </body> </html>", alternative:true}
]
But gmail web does not display a picture
I want to attach a file from base64. How can I do it?
I tried so:
attachment:
[
{data:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAFA3PEY8...", encoded:true, name:"file.jpeg",type:"image/jpeg"},
]
But the image comes damaged
Hello!
I have base64 string.
When i send html body with
But gmail web does not display a picture
I want to attach a file from base64. How can I do it?
I tried so:
But the image comes damaged