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

Productivity activities

Last updated Mar 13, 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated