MarketplaceListingsSnippetSend Email Reusable Workflow

Send Email Reusable Workflow

Silver Certified

Snippet

0 reviews

10

Send Email Reusable Workflow

Silver Certified

Snippet

0 reviews

10


Summary

Reusable workflow which helps with sending emails using any send mail activity.

carouselImage0

Overview

Introduction

This is a reusable workflow which is useful for sending emails. Sometimes in large projects, there are cases where mails are required to be sent in different workflows. This workflow can be used as a reusable component and instead of defining the complete workflow, we can include this workflow anywhere we want.

Prior Requirements

These are the two assets that need to be defined in Orchestrator:

1. ServerCredentials - Used to save the Credential of the MailBox.
2. SendEmail_ServerInfo - Used to save the information of the MailBox Server. Define the value in the following format
{ "Server": "https://outlook.pdo.co.om ", "Domain": "DEVYANI" , "Port": "547" ,"Name": "Devyani" , "From":"Devyani@gmail.com" , "To" : "Devyani.Sharma@gmail.com" }

Arguments need to Pass:
  • in_MailType - This is mandatory. Provide the type of Mail activity you want to use to send the mail - Exchange, Outlook, IBM or SMTP.
  • in_MailTo - This is optional in case it is defined in the "SendEmail_ServerInfo" asset.
  • in_MailAttachments - This is optional.
  • in_MailBody - This is optional . Define in HTML format.
  • in_MailSubject - This is optional.
  • in_MailBCc - This is optional.
  • in_MailCc - This is optional.

Benefits

- No need to define or create a separate workflow for sending mails in the project.
- Easy to use by just including the workflow in the project.
- Use any send mail activity.

Published: 02 Dec 2021 | Updated: 02 Dec 2021

devyani sharma
Solution Architect

License

MIT


Code Language

Visual Basic


Runtime

Windows (.Net 5.0 or higher)


Tags

exchange
outlook

Compatibility

Studio: 2019.10 - 2020.10


Dependencies

UiPath.webAPI.Activities UiPath.Mail.Activities UiPath.System.Activities


Similar Listings