Send Single E-mail

This activity causes logging in to the indicated mail account on the server and sends an e-mail with attachments if added. There are options to send or forward an e-mail. One can forward only the message already downloaded to the user's disc. Using OAuth you should fill in the Emailbox Name if you want to reach another mailbox with granted privileges (e.g. a shared mailbox).

NOTE: see also: Encryption string.

Parameter nameParameter TypeIn/OutDescription
ActionDropdownInputselect the action to perform from the dropdown list
Alternative Scenario If FailedBooleanInputcheckbox; default is "on"
Application IDStringInputstring expression from Azure Active Directory (applies to Microsoft services) or Google Cloud (applies to Google services) obtained after the application registration process
AttachmentsString[]Inputattachment file(s)
BCCStringInputaddress of the hidden secondary recipient
BodyStringInputcontent of the message
CCStringInputaddress of the secondary recipient
Certificate ValidationBooleanInputcheckbox
Client SecretStringInputstring expression from Google Cloud obtained after the application registration process
DeliveryNotificationToStringInputdelivery notification address
DisplayNameLiteralInputyou can change the name of activity for greater clarity of the scenario
Emailbox NameStringInput(optional) name of the mailbox in a form of email address (local part, symbol "@" and domain)
EmailPathStringInputpath to email file
EncryptionMethodDropdownInputselect the appropriate option from the dropdown list
FromStringInputsender address
PasswordStringInputpassword (string expression)
PortInt32Inputnumber of port
ProviderDropdownInputselect the appropriate option from the dropdown list
ReadNotificationToStringInputread notification address
Reply ToStringInputSender's reply to address
ServerAddressStringInputaddress of e-mail server the robot logs on to
SubjectStringInputsubject of the message
Tenant IDStringInputstring expression from Azure Active Directory obtained after the application registration process
TimeoutInt32Inputset time in seconds to connect to email server; if the connection fails - the activity will return "false"
ToStringInputemail address of recipient
Use OAuthBooleanInputcheckbox; default is "off"
ResultBooleanOutputreturns the Boolean value: it will return True if no error is in activity, otherwise it will return False
Result CodeInt32OutputResult Code will return 0 if there is no error in activity, otherwise in most cases it will return 1, the extended result code will show only in several chosen activities
SentTimeStampDateTimeOutputtimestamp of sent message