Connect HomeMarketplaceComponentsVMware - Enhanced Send SMTP Mail Message

VMware - Enhanced Send SMTP Mail Message

Snippet

Snippet

Updated: October 5th, 2020

Published: September 10th, 2020

Downloads: 1

Language compatibility: Visual Basic

Tags: email,SMTP

Community Support

VMware - Enhanced Send SMTP Mail Message

Snippet

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.

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)

Details

Benefits

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.

Compatibility

UiPath Studio 2018.4 and onwards.

Dependencies

    UiPath.Mail.Activities: [1.7.2]
    UiPath.System.Activities: [19.10.1]
    UiPath.UIAutomation.Activities: [19.11.1]

Licensing

By clicking download you agree to the following license.