UiPath Documentation
activities
latest
false

Productivity activities

MoveMailAsync (IMAP)

Asynchronously moves an IMAP email message to a specified folder.

Namespace: UiPath.Mail.Activities.Api

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

Syntax

Task MoveMailAsync(
	MailMessage message,
	string destinationFolder,
	string fromFolder = "",
	CancellationToken token = default
)
Task MoveMailAsync(
	MailMessage message,
	string destinationFolder,
	string fromFolder = "",
	CancellationToken token = default
)

Parameters

message MailMessage : The email message to be moved.

destinationFolder String : The destination mail folder.

fromFolder String (Optional) : The source folder containing the message. If empty, defaults to Inbox.

token CancellationToken (Optional) : The cancellation token to cancel operation.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated