How to Embed Images into E-mail Body in UiPath - Send HTML Mail Tutorial

Опубликовано: 13 Октябрь 2024
на канале: Oguzhan Sanyilmaz
2,956
28

In this UiPath tutorial, we will see how to embed image into mail body in UiPath. We will convert Image(.jpg file) attachment to Base64String, add it to HTML image tag and we will embed that HTML tag to Mail Body. We will send HTML e-mail using Send Outlook Email Activity.

#uipath #attachment #embedimage

Complete UiPath Training -    • UiPath Tutorials - Complete UiPath Tr...  
UiPath Mail Automation Training-    • UiPath Mail Automation  
UiPath Datatable Automation Training -    • UiPath Datatable Automation  

👉 Follow me:👇👇
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
🔔 Subscribe -    / @oguzhansanyilmaz  
💼 LinkedIn -   / osanyilmaz  
💻 Website - https://automationschool.org/

[00:00] - Introduction
[00:10] - Defining Image Path
[00:40] - Creating Byte Array - Byte[]
[01:21] - Converting Byte Array to Base64String
[01:49] - Creating HTML IMG tag
[03:10] - Creating HTML Mail Body
[03:25] - Replacing Base64String inside ImageTag
[03:53] - Replacing ImageTag inside MailBody
[04:36] - Send Email Activity
[05:05] - 1st Run - Without isBodyHTML Checked
[05:20] - 2nd Run - isBodyHTML Checked
[05:37] - Conclusion
[06:00] - Outro