IMAP_GetMessageList

<< Fare clic per visualizzazione il sommario >>

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

IMAP_GetMessageList

Service

Mail

 

Method

IMAP_GetMessageList

 

Description

Gets the list of messages in the specified folder

 

Input

Name

Description

Type

Optional

folderPath

The path to folder for which a list of messages is returned.

String

 

fields

Fields to return for each message.

Int

 

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).

List of 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.

This method represents IMAP FETCH command.