POP3 Message Info structure

<< Fare clic per visualizzazione il sommario >>

Percorso:  API di piattaforma > Altri servizi > Mail > Strutture dati >

POP3 Message Info structure

A POP3 MessageInfo is represented by a Dictionary<string, object> containing the following fields.

 

Parameters

Name

Description

Type

Optional

CC

Contains a string for each additional recipient; each recipient can be specified with display name and address (“John Doe <jdoe@gmail.com>”) or the address only (“jdoe@gmail.com”)

ArrayValue

Y

Date

The origination date of this message (original time); this specifies the date and time at which the creator of the message indicated that the message was complete and ready to enter the mail delivery system; if origination date is not available, the date specified by the first ‘Received’ header is given.

DateTime

Y

From

The sender of the message can be specified with display name and address (“John Doe <jdoe@gmail.com>”) or the address only (“jdoe@gmail.com”).

String

 

Headers

A List containing a Dictionary<string, object> for each header of the message; each Dictionary contains the following fields

Name (String) -> the name of the header;

Value (String) -> the value of the header;

Unparsable (Boolean) -> true if the header was unparsable, otherwise false;

Raw (String) -> the raw text representation of the header.

ArrayValue

Y

InReplyTo

A List of strings containing the identifiers of messages to which the message is a reply.

ArrayValue

Y

Length

The length of the message.

Int64

Y

MessageId

The message identifier. While the UniqueId is created by the mail server and is part of the message envelope, the MessageId is created by the sender and is one of the message headers. Mail message formats: MIME format is an XML containing the whole message, including any attachment, and is used by Outlook Express to save files with the .eml extension. Outlook saves message files in a proprietary format with the .msg extension.

String

Y

ReplyTo

Contains a string for each recipient that should receive replies to the message; each recipient can be specified with display name and address (“John Doe <jdoe@gmail.com>”) or the address only (“jdoe@gmail.com”).

ArrayValue

Y

Subject

A short string identifying the topic of the message.

String

Y

To

Contains a string for each primary recipient of the message; each recipient can be specified with display name and address (“John Doe <jdoe@gmail.com>”) or the address only (“jdoe@gmail.com”).

ArrayValue

 

UniqueId

The message unique ID. The unique ID is permanent and does not change between sessions.

A message will retain its unique ID until it is deleted.

A minority of IMAP servers is not capable of unique IDs that persist accross sessions, and other servers might reassign its IDs when some special situation occurs, but even in these rare situations it is guaranteed that a unique ID that once identified a message in a folder will never identify a different message in the same folder.

However, it is important to notice that unique IDs are only unique inside a specific folder, and not accross different folders. Also, as a consequence of this, a message will be assigned a new unique ID if copied to another folder.

String

Y

 

Download POP3 Message Info data structure.