ImapMessageInfo

ImapMessageInfo class

Represents a Imap message object.

The ImapMessageInfo type exposes the following members:

Properties

NameDescription
headersGets the Headers of the E-Mail message.
subjectGets the Subject of the E-Mail message.
message_idGets the message ID.
toGets the receiptants of the E-Mail message.
ccGets CC of the E-Mail message.
bccGets blind carbon copy of the E-Mail message.
reply_toGets the list of addresses that should receive replies to this message.
from_addressGets the list of authors of this message.
senderGets the sender of this message.
sizeGets the size of the E-Mail message.
dateThe origination date 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.
For instance, this might be the time that a user pushes the “send” or “submit” button in an application program.
In any case, it is specifically not intended to convey the time that the message is actually transported,
but rather the time at which the human or other creator of the message has put the message into its final form,
ready for transport.
(For example, a portable computer user who is not connected to a network might queue a message for delivery.
The origination date is intended to contain the date and time that the user queued the message,
not the time when the user connected to the network to send the message.)
list_unsubscribeThe List-Unsubscribe field describes the command (preferably using mail) to directly unsubscribe the user(removing them from the list).
For more details please see https://tools.ietf.org/html/rfc2369
propertiesGets a mapi properties.
parent_folderGets parent folder for message
internal_dateThe internal date and time of the message on the server.
This is not the date and time in the [RFC-2822] header, but rather a date and time which reflects when the message was received.
- In the case of messages delivered via [SMTP], this SHOULD be the date and time of final delivery of the message as defined by[SMTP].
- In the case of messages delivered by the IMAP4rev1 COPY command, this SHOULD be the internal date and time of the source message.
- In the case of messages delivered by the IMAP4rev1 APPEND command, this SHOULD be the date and time as specified in the APPEND command description.
- All other cases are implementation defined.
modification_sequenceGets the modification sequence of this message.
See more: https://tools.ietf.org/html/rfc7162
flagsGets the message flags.
answeredGets a value indicating whether
Flags property contains the Answered flag.
deletedGets a value indicating whether
Flags property contains the Deleted flag.
draftGets a value indicating whether
Flags property contains the Draft flag.
flaggedGets a value indicating whether
Flags property contains the Flagged flag.
recentGets a value indicating whether
Flags property contains the Recent flag.
is_readGets a value indicating whether
Flags property contains the Read flag.
conversation_idGets a value indicating conversation id.
sequence_numberGets the message sequence number.
unique_idGets the message unique ID.

Methods

NameDescription
contains_keyword(flag)

See Also