How to send mail in uipath

UIPath provides a built-in activity called "Send Email" that allows you to send emails using various email protocols such as SMTP, IMAP, and POP3. Here's a step-by-step guide on how to send mail in UIPath:

Prerequisites:

  1. You need to have a valid email account with a provider that supports SMTP, IMAP, or POP3 protocols.
  2. You need to have the UIPath Studio installed and configured on your machine.

Step 1: Create a new workflow

  1. Open UIPath Studio and create a new workflow by clicking on "File" > "New" > "Workflow".
  2. Name your workflow and click "OK".

Step 2: Add the "Send Email" activity

  1. In the workflow designer, click on the "Activities" tab in the toolbox.
  2. Search for "Send Email" and drag-and-drop it onto the workflow designer.

Step 3: Configure the "Send Email" activity

  1. Double-click on the "Send Email" activity to open its properties.
  2. In the "Send Email" activity, you need to configure the following settings:
    • Server: Enter the name of your email server (e.g., outlook.office365.com).
    • Port: Enter the port number used by your email server (e.g., 587 for SMTP).
    • Username: Enter your email address.
    • Password: Enter your email password.
    • From: Enter the sender's email address.
    • To: Enter the recipient's email address.
    • Subject: Enter the subject of the email.
    • Body: Enter the body of the email.
  3. You can also add attachments to the email by clicking on the "Attachments" button and selecting the files you want to attach.

Step 4: Run the workflow

  1. Click on the "Run" button to execute the workflow.
  2. The "Send Email" activity will send the email using the configured settings.

Tips and Variations: