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

Productivity activities

Last updated Feb 19, 2026

MoveEmail

Moves the mail to the specified destination.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

void MoveEmail(
	IMail mail,
	IMailFolder destination,
	string mailbox = null,
	bool bodyAsHtml = false
)
void MoveEmail(
	IMail mail,
	IMailFolder destination,
	string mailbox = null,
	bool bodyAsHtml = false
)

Parameters

mail IMail : The email that should be moved.

destination IMailFolder : The destination folder of the email.

mailbox String (Optional) : If specified uses the given shared mailbox, otherwise it uses the current account. Optional, default value is null.

bodyAsHtml Boolean (Optional) : If the content of the email should be interpreted as HTML format. Optional, default value is false.

  • Syntax
  • Parameters

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.