activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Feb 19, 2026

ForwardEmail

Forwards the specified mail.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Overloads

OverloadDescription
ForwardEmail(IMail, ForwardEmailRequest)Forwards the specified mail.
ForwardEmail(IMail, String, String, String, String, String, Boolean)Forwards the specified mail.

ForwardEmail(IMail, ForwardEmailRequest)

void ForwardEmail(
	IMail mail,
	ForwardEmailRequest forwardEmailRequest
)
void ForwardEmail(
	IMail mail,
	ForwardEmailRequest forwardEmailRequest
)

mail IMail : The email that should be forwarded.

forwardEmailRequest ForwardEmailRequest : The forward email request configuration.

ForwardEmail(IMail, String, String, String, String, String, Boolean)

void ForwardEmail(
	IMail mail,
	string body,
	string newSubject = null,
	string to = null,
	string cc = null,
	string bcc = null,
	bool asDraft = false
)
void ForwardEmail(
	IMail mail,
	string body,
	string newSubject = null,
	string to = null,
	string cc = null,
	string bcc = null,
	bool asDraft = false
)

mail IMail : The email that should be forwarded.

body String : The content of the email.

newSubject String (Optional) : If not null, the subject of the email will be changed to the given value. Default value is null.

to String (Optional) : The primary recipient of the email. Optional, default value is null.

cc String (Optional) : The secondary recipient of the email. Optional, default value is null.

bcc String (Optional) : The hidden recipient of the email. Optional, default value is null.

asDraft Boolean (Optional) : Specifies if the email should be saved as draft. Optional, default value is false.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.