Add an image in email body
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-10-18 09:59 PM
I was wondering how to add an image in an email body. I presume it has to be done in HTML mode but not sure of the detailed steps as to how to achieve that.
Can anyone help me on this?
Thanks in Advance
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-18 01:05 AM
Correct, it should be done in HTML mode.
Assuming you have a VBO that is HTML-compliant and have it set to use it instead of plain-text, build your e-mail like you would a web page. You can get away with only keeping it within what would have otherwise been in the tags. Please note that since this is HTML, the image is expected to be on a server accessible by your recipient, rather than an attached file.
Ex:
This is text. Please refer to the screenshot below.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-18 01:09 AM
(I wish there was an edit button for non-opening posts!) Did some digging. Looks like if you can convert the image to a base-64 string, you can also embed it that way.
https://stackoverflow.com/questions/6706891/embedding-image-in-html-email
Base64 Online - base64 decode and encode
https://stackoverflow.com/questions/6706891/embedding-image-in-html-email
Base64 Online - base64 decode and encode
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
27-10-18 01:33 AM
Fair warning if you do this. I wrote a code stage to handle it, so I could bypass going to that second web page. While the automation engine and code stage is more than happy running with the data (and quite fast), Blue Prism will attempt to crash if you manually open up the variable and look at the value if it's too large. I used a 1600x900 png screenshot to test with.
Side note to Blue Prism devs: Can we get an actual 64-bit build of Automate.exe? Please?
