IMAP_GetMessageInfo

<< Fare clic per visualizzazione il sommario >>

Percorso:  I servizi di Jamio openwork > Mail Service > Configurazione e metodi IMAP >

IMAP_GetMessageInfo

Service Mail

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

 

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.