Forward Mail
AutomatR.ExchangeServer.Activities.ForwardMail
The "Forward Mail" activity in AutomatR is part of the Exchange Server activities package, allowing automation processes to forward specified emails or invites. This activity is particularly useful for automating email management tasks within Microsoft Exchange Server.
Properties
Name | Description |
---|---|
Input | |
Attachments | Provide the full file path of the file you wish to attach from your local drive with the forwarded email, using a List<String> variable. List variable containing file paths. |
BCC | Provide the email addresses that you would like to mark as BCC (Blind Carbon Copy) when forwarding the email. String variable containing BCC email addresses. |
Body | Provide the desired content for the email body that you would like to send as a reply, in either text or HTML format. String variable containing the email body. |
CC | Provide the email addresses that you would like to mark as CC (Carbon Copy) when forwarding the email. String variable containing CC email addresses. |
Mail Message | Specify the MailMessage object representing the email to be forwarded. MailMessage variable. |
Subject | Provide the subject line of the email that you would like to forward. String variable containing the email subject. |
To | Provide the email addresses that you would like to mark as recipients in the "To" field when forwarding the email. String variable containing To email addresses. |
Misc | |
Display Name | The display name of the activity. A display name is automatically generated when you indicate a target. |
Optional | |
Delay | Enter the wait time in seconds (e.g., 5) to start the activity. |
How to use:
- Drag and drop the "Forward Mail" activity onto the workflow.
- Configure the properties by specifying the MailMessage, subject, body, To, CC, BCC, and attachments for the forwarded email.
- Optionally, set a delay and customize the display name.
- Execute the workflow to forward the specified email within the Exchange Server.
Example: Consider an example where the "Forward Mail" activity is used to forward an email with a specific subject, body, and attachments:
Forward Mail:
Mail Message: emailObject
Subject: "Meeting Agenda"
Body: "Please find the meeting agenda attached below. Let me know if you have any questions."
To: "recipient@example.com"
CC: "cc@example.com"
BCC: "bcc@example.com"
Attachments: ["C:/Documents/Agenda.docx", "C:/Documents/Attachment.pdf"]
In this example, the activity forwards the specified email (emailObject
) with the provided subject, body, and attachments to the specified recipients, CC, and BCC.