Email

Send Single Email

Activity sends an email from an indicated email account.

To use the activity fill in the correct Login/Sender Email and Password for the email you want to access, as well as Protocol, Encryption method, Server Address and Port according to the email server’s settings.

To use a shared mailbox, provide the name in the Malibox Name field in addition to logging in with regular credentials.

Activity supports two modes: Send (allows for sending a new message) and Forward (allows for forwarding a message previously saved to hard drive)

sendmail1
sendmail2
sendmail3

To send a message from indicated email fill in To (primary recipient), Subject and Body. Fill in CC and BCC to add additional and hidden recipients, From to customize sender name and Reply To to specify email to reply to.

Check Body Type HTML if contents of Body are to be treated and formatted as HTML content. (Extended Forward shows/hides the fields on activity block in both Send and Forward modes and is checked by default)

If Forward is used instead of Send, provide path to message file on hard drive in Email Path. Also please note in this mode Body contents will be added in addition to the original message.

Check Request Delivery Notification and fill in Delivery Notification Address to receive a delivery confirmation.

Check Request Read Notification and fill in Read Notification Address to receive a read confirmation.

Provide directory paths to files in Attachment Paths to include attachments.

 

NOTE: It's recommended that the email address is reserved for robot use.

Google & Microsoft OAuth

To use the activity with a Gmail or Microsoft email follow the respective manual for setting up the account for an external application’s access.

oauth1
oauth2
NameTypeCategoryDescription
ActionDropdownInputselect action to perform from the dropdown list
Alternative Scenario If FailedBooleanMisccheckbox; default is "on"
Application IDStringOAuthstring expression from Azure Active Directory (applies to Microsoft services) or Google Cloud (applies to Google services) obtained after the application registration process
Attachments PathsString[]Inputfile paths to attachment files
BCCStringInputaddress of hidden secondary recipient
BodyStringInputcontent of the message
Body Type HTMLBooleanInputcheckbox; default is "off"
CCStringInputaddress of secondary recipient
Certificate ValidationBooleanSettingscheckbox; default is "on"
Client SecretStringOAuthstring expression from Google Cloud obtained after the application registration process
Delivery Notification AddressStringSettingsdelivery notification address
Display NameLiteralMiscchanges display name of the activity
Encryption MethodDropdownInputselect encryption method from the dropdown list
Exclude from Transaction CheckBooleanMisccheckbox; default is "off"
Extended ForwardBooleanInputcheckbox; default is "on"
FromStringInputsender address
Login/Sender EmailStringSettingslogin
Mailbox NameStringSettingsname of shared mailbox
Message Source PathStringInputdirectory path to a file (file name and extension included)
PasswordStringSettingspassword (string expression)
PortInt32Settingsport number
ProviderDropdownOAuthselect email provider from the dropdown list
Read Notification AddressStringSettingsread notification address
Reply ToStringInputSender's Reply To address
Request Delivery NotificationBooleanSettingscheckbox; default is "off"
Request Read NotificationBooleanSettingscheckbox; default is "off"
ResultBooleanOutputreturns a Boolean value. True if no error in activity, otherwise will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases will return 1. See the table of Extended Result Codes for more info
Sent TimestampDateTimeOutputtimestamp of sent message
Server AddressStringSettingsaddress of email server the robot logs in to
SubjectStringInputsubject of the message
Tenant IDStringOAuthstring expression from Azure Active Directory obtained after the application registration process
Timeout [s]Int32Inputset time in seconds to connect to email server
ToStringSettingsemail address of the recipient
Use OAuthBooleanOAuthcheckbox; default is "off"