Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ImapMessageInfo Class

Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9147)

Contains information about a single mail message on the IMAP server.

Syntax
public sealed class ImapMessageInfo
Inheritance
Object
ImapMessageInfo
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

Properties

Name Description
Bcc

Gets the list of addresses of recipients that are not to be revealed to other recipients of the message.

BodyHtml

Gets the HTML body of the message, or an empty string if no HTML body was retrieved

BodyParsingError

Gets an error that occurred during message body parsing.

BodyText

Gets the text body of the message, or an empty string if no text bodywas retrieved.

CC

Gets the list of addresses of others who are to receive the message.

Date

Gets the origination date of this message.

Flags

Gets the message flags.

From

Gets the list of authors of this message.

HasAttachment

Returns a value indicating whether the message has an attachment (or more attachments).

HasBodyHtml

Gets the value indicating whether the HTML body of the message was retrieved.

HasBodyText

Gets the value indicating whether the text body of the message was retrieved.

HasResources

Returns a value indicating whether the message has a linked resource (or more linked resources).

Headers

Gets the list of headers of this entity.

HeadersParsingError

Gets an error that occurred during message headers parsing.

InReplyTo

Gets the list of identifiers of messages to which the message is a reply.

IsAnswered

Returns true if the Flags property contains the Answered flag.

IsDeleted

Returns true if the Flags property contains the Deleted flag.

IsDraft

Returns true if the Flags property contains the Draft flag.

IsFlagged

Returns true if the Flags property contains the Flagged flag.

IsRecent

Returns true if the ImapMessageFlags property contains the Recent flag.
This flag is set if the message has arrived during the current session and it is the first active session to see the message.

IsSeen

Returns true if the Flags property contains the Seen flag. This flag is set if the message has been read.

IsSignedOrEncrypted

Returns a value indicating whether the message is signed or encrypted.

Length

Gets the length of the message.

MessageId

Gets the unique identifier of the message.

ReceivedDate

Gets the received date of this message.

ReplyTo

Gets the list of addresses that should receive replies to this message.

Sender

Gets the sender of this message. May be null.

SequenceNumber

Gets the message sequence number.

Subject

Gets the subject of the message.

To

Gets the list of addresses of primary recipients of the message.

UniqueId

Gets the message unique ID (case-sensitive string). Note that it can contain a slash '/' - unsuitable to be used as a filename.

ValidFields

Returns a bit mask specifying which fields are valid.

Methods

Name Description
GetHeaderParsingErrors()

Gets an array containing errors that occurred during message headers parsing.

GetKeywords()

Gets the list of keywords (custom flags) associated with the message.

GetParts()

Returns a list of message parts. This includes body views, attachments and linked resources.

GetRawHeaders()

Returns the raw form of the message headers, if available.

In This Article
  • Properties
  • Methods
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies