Feedback

  • Contents
 

Update Folder

This Email tool synchronize the contents of a previously opened folder with the actual current contents of the underlying MAPI message store. Use this tool to access messages which have arrived in the open folder since the Open Folder tool was run and to remove deleted messages from the internal message list.

If the folder is updated asynchronously, then no message count will be available.

Inputs

Folder ID

The unique identifier for the folder being updated. This ID is retrieved with an Incoming Mail initiator, or the Open Folder tool.

Max Count

The maximum number of messages to open. No value or a value of 0 will retrieve all messages.

Reverse Order

Set this to True to reverse the default order in which the messages are opened by the mail server. The default order is dependant on the underlying mail system.

Reverse Index

Set this to True to reverse the order in which messages are indexed.

Status 

Only messages with this status will be searched, can be Read or Unread.

Importance 

Only messages with this importance will be searched, can be low, high, or normal.

Sensitivity 

This parameter is a string that can have the value of None, Personal, Private, or Confidential. The default is None, and this will also be used in the event that something other than one of the other three valid values is entered.

Message Class 

Only messages with this class will be searched, can be text, voice, fax, or ndr.

Subject 

Only messages with this subject will be searched. Uses a regular expression.

Sender 

Only messages from this sender will be searched (friendly name or email address). Uses a regular expression.

Start Date/Time 

Only message received after this date and time will be searched.

End Date/Time 

Only messages received before this date and time will be searched.

Asynchronous

Set this to true if you want the tool should to until the messages have been loaded before exiting.

Timeout

The number of seconds the tool will wait for a return value.

Outputs

Unread Count

The total number of unread messages in the folder.

Read Count

The total number of read messages in the folder.

Unread Voice

The total number of unread Voice Mail messages in the folder.

Read Voice

The total number of read Voice Mail messages in the folder.

Unread Fax

The total number of unread Faxes in the folder.

Read Fax

The total number of read Faxes in the folder.

Result

The results of the operation.

See Email Tool Result Codes for more information.

Exit Paths

Success

This step takes the Success exit path if the folder was updated.

Failure

This step takes the Failure exit path if the mail server is not running.