Create your first automation in just a few minutes.Try Studio Web →
by VMware
0
Snippet
<100
Summary
Summary
Identifies and removes the invalid addresses while sending an email and retries the email until it is sent or until an exception not caused by an invalid address issue is identified.
Overview
Overview
UiPath's "Send SMTP Mail Message" activity does not send the email when any address in the 'To' or 'Cc' Distribution List(s) fails to resolve against the Active Directory (AD) or is invalid.
This component will identify and remove the invalid address(es) from the 'To' or 'Cc' fields and retry the email until it is sent or until an exception not caused by an invalid address issue is identified, while maintaining the functionalities that the "Send SMTP Mail Message" activity offers.
Input Arguments:
- Attachments Collection (Array of String) - String array containing the path(s) of the attachment(s) to be included in the email
- Body (String) - Include only if the IsHtmlBody flag is set to False
- CCDistributionList (String) - The list of emails to be included in the 'Cc' field
- From (String) - Optional argument
- HTML Body (String) - Include only if the IsHTMLBody flag is set to True
- IsBodyHtml (Boolean) - Identifies if the email body will be included in HTML format
- SmtpPassword (String)
- SmtpUserName (String)
- SmtpPort (Int32)
- SmtpServer (String)
- Subject (String)
- ToDistributionList (String) - The list of emails to be included in the 'To' field
Output Arguments:
- IsEmailSent (Boolean)
Features
Features
The intended email is sent even if one or more of the addresses are invalid while maintaining the functionality of the normal 'Send SMTP Mail Message' activity.
Additional Information
Additional Information
Dependencies
UiPath.Mail.Activities: [1.7.2] UiPath.System.Activities: [19.10.1] UiPath.UIAutomation.Activities: [19.11.1]
Code Language
Visual Basic
License & Privacy
Privacy Terms
Technical
Version
1.0Updated
October 5, 2020Works with
Studio: 18.4 - 22.10
Certification
Silver Certified
Support
UiPath Community Support