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

Productivity activities

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

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated