Mail Activities

Bronze Certified

Custom Activity

0 reviews

423

Mail Activities

Bronze Certified

Custom Activity

0 reviews

423


Summary

This package contains two activities for sending mail messages with embedded images: send Outlook Mail with embedded images and send SMTP Mail with embedded images

Overview


This activity is used for sending Outlook messages with embedded images into email body.

1. Send Outlook Mail with Embedded Images

Properties

Attachments
  • AttachmentsCollection - Enables you to specify a list of attachments to be added to the email message. This field supports only IEnumerable<String> variables.
Embeddeds
  • EmbeddedsCollection - Enables you to specify a dictionary where each key is the image CID and its value is the path of image file to be embedded in the email message. This field supports only IDictionary<String, String> variables.
Email
  • HTML Body - The HTML body of the email message.
  • Subject - The subject of the email message.
Input
  • Account - The account used to send the messages.
  • SentOnBehalfOfName - The display name of the sender of the mail message. This field supports only strings and String variables.
Options
  • IsDraft - Specifies whether the message should be saved as a draft.
Receiver
  • Bcc - The hidden recipients of the email message.
  • Cc - The secondary recipients of the email message.
  • To - The main recipients of the email message.
2. Send SMTP Mail With Embedded Images

Properties
Attachments
  • AttachmentsCollection - Enables you to specify a list of attachments to be added to the email message. This field supports only IEnumerable<String> variables.
Common
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 30000 milliseconds (30 seconds).
Email
  • HTML Body - The HTML body of the email message.
  • Subject - The subject of the email message.
Embeddeds
  • EmbeddedsCollection - Enables you to specify a dictionary where each key is the image CID and its value is the path of image file to be embedded in the email message. This field supports only IDictionary<String, String> variables.
Host
  • Server - The email server host that is to be used.
  • Port - The port that the email message is to be sent through.
Logon
  • Email - The email account used to send the message.
  • Password - The password of the email account used to send the message.
Options
  • SendAsync - Specifies if the email will be sent in an asynchronous mode. If true, the activity won't wait the email to be sent and the TimeoutMS property will be ignored.
  • EnableSsl - Specify whether the SMTP client uses Secure Sockets Layer (SSL) to encrypt the connection.
Receiver
  • Bcc - The hidden recipients of the email message.
  • Cc - The secondary recipients of the email message.
  • To - The main recipients of the email message.
Sender
  • From - The email address of the sender.
  • Name - The display name of the sender

Benefits


Published: Sep 25, 2020 | Updated: Dec 18, 2020

Renato Oliveira
RPA Developer

São Paulo, SP, Brasil


License

Apache 2.0


Code Language

Visual Basic


Tags


Compatibility

UiPath 2020.4 or higher Outlook 2013 or higher


Dependencies

Microsoft.Office.Interop.Outlook version 15.0.4797.1003