Activities
latest
false
Banner background image
Productivity Activities
Last updated May 14, 2024

Move Mail

UiPath.MicrosoftOffice365.Activities.Mail.MoveMail

Description

Uses the Microsoft Graph Move event message API to move a message (Message) to a different mail folder (DestinationFolder).

Important: Please be aware that the Microsoft Graph API used in the implementation of this activity does not work anymore when moving a mail message from one mailbox to another. This limitation seems to have been introduced in April-May 2021.

Project compatibility

Windows - Legacy | Windows

Configuration

Properties
Common
  • DisplayName - The display name of the activity. This property supports String variables and string formatted values.
Input
  • Account - (Optional) The email address with which to interact. This may include any shared mailbox to which the current user has access rights. If left blank, the current user's account is assumed. This property supports String variables and string formatted values.
    Note: Account field is mandatory for ApplicationIdAndSecret and ApplicationIdAndCertificate authentication types.
  • DestinationFolder - The destination folder's name. For a list of supported standard Outlook folder names, press F1. Enter your folder as it appears in your Outlook application (e.g., "Inbox", "Sent Items", "Deleted Items", etc.). This property supports String variables and string formatted values.
  • Message - The message to move. This field supports only Office365Message variables. Enter the Result output property variable from the Get Mail activity and specify the item in the array that you want to use (e.g., foundMessages(0)). This property supports String variables and string formatted values.
Misc
  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level. This field supports Boolean values.

How it works

The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

  1. Complete the Setup steps.
  2. Add the Microsoft Office 365 Scope activity to your project.
  3. Add an activity or run an external process that outputs a Office365Message object (e.g., Get Mail).
  4. Add the Move Mail activity inside the Microsoft Office 365 Scope activity.
  5. Enter values for the Input properties.
  6. Run the activity.

    • Your input property values are sent to the MoveMessage API.



  • Description
  • Project compatibility
  • Configuration
  • How it works

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.