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

Productivity activities

Last updated Feb 19, 2026

ReplyToEmail

Replies to the specified mail.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Overloads

OverloadDescription
ReplyToEmail(IMail, ReplyToEmailRequest)Replies to the specified mail.
ReplyToEmail(IMail, String, String, String, String, String, Boolean)Replies to the specified mail.

ReplyToEmail(IMail, ReplyToEmailRequest)

void ReplyToEmail(
	IMail mail,
	ReplyToEmailRequest replyToEmailRequest
)
void ReplyToEmail(
	IMail mail,
	ReplyToEmailRequest replyToEmailRequest
)

mail IMail : The email that should be replied.

replyToEmailRequest ReplyToEmailRequest : The reply email request configuration.

ReplyToEmail(IMail, String, String, String, String, String, Boolean)

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

mail IMail : The message to reply to.

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 additional primary recipient of the email. Optional, default value is null.

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

bcc String (Optional) : The additional 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.