B4J Question SMTP HtmlBody with image.

micro

Well-Known Member
Licensed User
Longtime User
Hi to all
my intent is to show up in the mail also the image of my logo
If i insert into Html code a line with reference to image
B4X:
sb.Append($"<img src="logo.png">"$)
This image at destination is not present (only a classic icon image).
I also tried to insert it as an attachment, but I find it only as an attachment and not also displayed.
How can i get this?

Thanks
 

DonManfred

Expert
Licensed User
Longtime User
Google: email html inline image

I guess you´ll get the best results with
B4X:
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAADSCAMAAABThmYtAAAAXVB" alt="img" />
 
Upvote 0
Top