sayali.p
(Sayali Patil)
December 3, 2024, 4:59am
1
Is it possible to send an image from the ‘Send Outlook Mail Message ’ activity to a Gmail account in UiPath? I want to understand how to implement this functionality. Any guidance or steps would be appreciated!
@sayali.p ,
You can attach the image as as attachment and send if you are looking for inline image then follow this
sayali.p
(Sayali Patil)
December 3, 2024, 6:32am
3
Still, it’s not visible on Gmail account
only text message is visible
@sayali.p ,
Ok. I just looked for the issue and found out Gmail and Base64 don’t like each other so the approach I suggested earlier won’t work.
Found another solution that you can try.
In the end, the only working solution is to use Invoke Code activity and write the code manually in VB.net using SMTP and images as Linked Resources, then using the CID in the HTML templates.
The UiPath SMTP activity for some reason doesn’t work with Linked Resources and using the content ID correctly… you have to do it manually with code…
Also this KB
How to send embedded images in an email using UiPath?
Issue Overview In most email clients, it is possible to send embedded images in an email. A common question is how to do this using UiPath. This guide will explain a few different ways that this can be done. Technical Overview This guide will cover three ways of embedding in image in a UiPath email.
Using a base64 encoded image - This is one of the easiest methods but clients like Gmail will block the image from being displayed
…
sayali.p
(Sayali Patil)
December 3, 2024, 7:29am
5
I wanted to send inline image through Send Outlook Mail Message activity to the Gmail Account
Anil_G
(Anil Gorthi)
December 4, 2024, 4:22am
6
@sayali.p
Please use the 3rd approach in the link given
Using a base64 encoded image - This is one of the easiest methods but clients like Gmail will block the image from being displayed
Embedding the image by including it as an email attachment - This is also very easy to do but clients like Gmail will block the image from being displayed
E****mbedding the image by including it as a linked resource - This should work for most email clients but is the most complicated.
How to send embedded images in an email using UiPath?
Issue Overview In most email clients, it is possible to send embedded images in an email. A common question is how to do this using UiPath. This guide will explain a few different ways that this can be done. Technical Overview This guide will cover three ways of embedding in image in a UiPath email.
Using a base64 encoded image - This is one of the easiest methods but clients like Gmail will block the image from being displayed
…
cheers