Skip to main content

Mark IMAP Mail as Read/Unread

Description

Use this Activity to mark an IMAP mail in a specified folder as read/unread.

Properties

Input

  • Message – Specify the Mail Message object to be marked as read/unread.
  • Source Mail Folder – Specify the location of the email message.
  • Mark Mail As – Choose an option from the drop-down menu to Read or Unread mail messages. The default value is Unread

Common

  • Timeout (in MS) – Specify the duration to wait (in milliseconds) for the Activity to complete before triggering an error. The default duration is 30000 milliseconds (30 seconds).

Credential

  • Email – Specify the email account used to get the message.
  • Password – Specify the email account password to get the message.
info
  1. In the case of Gmail, follow the steps to create an App Password.
  2. In the case of Outlook, follow the steps to create an App Password.
  3. In the case of Yahoo, follow the steps to create an App Password.

Host

  • Port – Specify the port used to get the email message.
  • Server – Specify the email server host to use.

Misc

  • DisplayName – Specify a display name for your Activity.

  • Private – Logs the variable and argument values at the Verbose level when unchecked.

Optional

  • Continue On Error – It Specifies whether the automation should continue even when the Activity throws an error. If True, the Activity continues without throwing any exceptions. If False, the Activity throws an exception. The default value is False.
note

Catches no error if this Activity is present inside the Try-Catch block and the value of this property is True.

Options

  • SSL – To enable SSL encryption for your connection, set this option value to true.

Output

  • Result – Returns a boolean value indicating whether the mark mail operation was successful.

Example

Download Example

Mark IMAP Mail As Read/Unread