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

Productivity activities

Last updated Feb 19, 2026

MoveMail

Moves an Outlook email message to a specified folder.

Namespace: UiPath.Mail.Activities.Api

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

MoveMail(MailMessage, string, string)

void MoveMail(
	MailMessage message,
	string destinationFolder,
	string account = ""
)
void MoveMail(
	MailMessage message,
	string destinationFolder,
	string account = ""
)

message MailMessage : The email, as a MailMessage object, that you want to move.

destinationFolder String : The mail folder where you want to move the email.

account String (Optional) : The account used to access the message that you want to move.

  • MoveMail(MailMessage, string, string)

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.