IMAP_GetMessageInfo

<< Fare clic per visualizzazione il sommario >>

Percorso:  API di piattaforma > Altri servizi > Mail > Configurazione e metodi IMAP >

IMAP_GetMessageInfo

Service

Mail

 

Method

IMAP_GetMessageInfo

 

Description

Gets information about a message with the specified unique ID.

 

Input

Name

Description

Type

Optional

folderPath

Path to The folder containing the message.

String

 

fields

Fields to return.

Int

 

uniqueId

Message unique ID.

String

 

setSeenFlag

True to mark the message as seen, otherwise false (the flag is not modified).

Bool

 

config

Optional configuration values that override the static configuration values (IMAP Config Structure).

Dataset

Y

Output

Name

Description

Type

Optional

returnValue

A List containing a dataset for each message, containing the fields specified with the “field” parameter (IMAP Message Info structure).

Dataset

 

 

Remarks

The possible values for the “fields” parameter can be:

0: returns the “UniqueId” field

1: returns the “UniqueId”, “Length”, “Seen” and “ReceivedDate” fields

2: returns the “UniqueId”, “Length”, “Seen”, “ReceivedDate”, “HasAttachments”, “Date”, “Subject”, “From”, “To”, “CC” and “ReplyTo” fields

3: returns the “UniqueId”, “Length”, “Seen”, “ReceivedDate”, “HasAttachments”, “Date”, “Subject”, “From”, “To”, “CC”, “ReplyTo”, “BodyHtml” and “BodyText” fields.

Uses IMAP FETCH command to retrieve the message.