Hi Team,
Can we send an email body content as an image format using UIPath.
Hi Team,
Can we send an email body content as an image format using UIPath.
Would you like to send image along the mail
If so we can mention the file path of the image in ATTACH FILE option in the Send outlook mail activity
Or if we want to send the body content along a mail
Then get the list of mail messages from outlook using get outlook mail activity and store that to a list of mailmessages variable
Now use a FOR EACH Loop and pass the above variable as input and inside the loop use SAVE MAIL MESSAGE ACTIVITY where mention the input as item and the folder path where we can save them as .eml file
—now next to this for each loop use assign activity like this
arr_files = Directory.GetFiles(“yourfolderpath”)
Now pass this arr_files variable as input to a FOR EACH and inside that use Start process activity and mention the input filepath as item.ToString
—then we can use Take Screenshot and save the image and send via mail
Cheers @RajeshT
Hi @Palaniyappan,Thank you for your response.
My objective is to ,users should not copy my mail content will this work in this scenario which you have mentioned?
Hmm…not sure even they can try getting the date from the screenshot image if been sent
But that is not possible like we can’t restrict the receiver to use that message where he needs right…
@RajeshT
Hi @Palaniyappan,
Noted and thank you for your inputs.
But with the above solution the email send to users will be email format right.
Yah of course
It would be buddy as we send via mail activity only and that too with the image as a attachment
@RajeshT
Hope the below post helps
Thanks
Kindly mention the .eml file path in FilePath property and not in arguments
Cheers @RajeshT