UiPath Documentation
activities
latest
false
Productivity activities

MoveMailAsync (IMAP)

Asynchronously moves an IMAP email message to a specified folder.

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(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated