In this document, will explained how to design a process which sends an e-mail with an image in its body using Robusta RPA. As an example, Gmail service that uses IMAP/ SMTP protocol chosen to send an email over. For Microsoft Exchange mail protocol, same design can be applied except setting up the connection steps.
Drag and drop ‘Imap/Smtp connection’ activity under Mail components on the canvas. Activity parameters are set as shown in the table.
Add Send E-mail Activity
Drag and drop ‘Send’ activity under Mail components on the canvas. Activity parameters are set as shown in the table.
- After IMAP / SMTP settings are made, the Send activity under Mail component is included in the process. Properties are written in the Connection name, Subject, From and To boxes.
- The location of the image that wanted to send is added to the Attachment box.
1C:\Users\Desktop\logo.jpg
- Necessary html codes are written in the Message part to display the image in the attachment on the body.
1<img id="1" src="cid:logo.jpg">
- HTML ?: box is selected as true and the process is validated.
<p>Robusta</p>
<img id="1" src="cid:logo.jpg">
<p>Robusta</p>