
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tSendMail : insert an image using img HTML tag
Hello everyone,
I'm using a tSendMail to send an e-mail. In its advanced configuration, it's set on HTML MIME.
In the message I tried just with that :
"<img src='C:/Users/THE USER/Desktop/banner.jpg' alt='alt'>"
The file is on my desktop. However when the e-mail is sent, I only get the "alt"....
Is it the right way to display an image in the body of the message ?
Thank you for your help !
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI, I think you have to upload your image to a server and set the url of the image in the src.
or it seems you could also send your img as base 64.
ex : img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAADSCAMAAABThmYtAAAAXVB" alt="img" /
but not all mail client support it.
Send me Love and Kudos

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI, I think you have to upload your image to a server and set the url of the image in the src.
or it seems you could also send your img as base 64.
ex : img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAADSCAMAAABThmYtAAAAXVB" alt="img" /
but not all mail client support it.
Send me Love and Kudos

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
THANKS A LOT !
It works. Indeed, base64 images are not supported by all clients...
TOPIC SOLVED 🙂
