The properties of the MessageHeader class are listed below. For a complete list of MessageHeader class members, see the MessageHeader Members topic.
Public Instance Properties
Bcc | Blind Carbon Copy. This specifies who got a copy of the message, but others cannot see who these persons are. The list will be empty if no Received Bcc was present in the message |
Cc | Carbon Copy. This specifies who got a copy of the message. The list will be empty if no Cc header was present in the message |
ContentDescription | A human readable description of the body a null reference if no Content-Description header was present in the message. |
ContentDisposition | Used to describe if a MessagePart is to be displayed or to be though of as an attachment. Also contains information about filename if such was sent. a null reference if no Content-Disposition header field was present in the message |
ContentId | ID of the content part (like an attached image). Used with MultiPart messages. a null reference if no Content-ID header field was present in the message. |
ContentTransferEncoding | This header describes the Content encoding during transfer. If no Content-Transfer-Encoding header was present in the message, it is set to the default of SevenBit in accordance to the RFC. |
ContentType | The Content-Type header field. If not set, the ContentType is created by the default "text/plain; charset=us-ascii" which is defined in RFC 2045 section 5.2. If set, the default is overridden. |
Date | The Date when the email was sent. This is the raw value. DateSent for a parsed up DateTime value of this field. DateTime.MinValue if no Date header field was present in the message or if the date could not be parsed. |
DateSent | The Date when the email was sent. This is the parsed equivalent of Date. Notice that the TimeZone of the DateTime object is in UTC and has NOT been converted to local TimeZone. |
DispositionNotificationTo | A List of emails to people who wishes to be notified when some event happens. These events could be email:
|
From | Specifies who sent the email a null reference if no From header field was present in the message |
Importance | Importance of this email. The importance level is set to normal, if no Importance header field was mentioned or it contained unknown information. This is the expected behavior according to the RFC. |
InReplyTo | The message identifier(s) of the original message(s) to which the current message is a reply. The list will be empty if no In-Reply-To header was present in the message |
Keywords | Message keywords The list will be empty if no Keywords header was present in the message |
MessageId | An ID of the message that is SUPPOSED to be in every message according to the RFC. The ID is unique. a null reference if no Message-ID header field was present in the message |
MimeVersion | The Mime Version. This field will almost always show 1.0 a null reference if no Mime-Version header field was present in the message |
Received | This is the Received headers. This tells the path that the email went. The list will be empty if no Received header was present in the message |
References | The message identifier(s) of other message(s) to which the current message is related to. The list will be empty if no References header was present in the message |
ReplyTo | Specifies who a reply to the message should be sent to a null reference if no Reply-To header field was present in the message |
ReturnPath | A single RfcMailAddress with no username inside. This is a trace header field, that should be in all messages. Replies should be sent to this address. a null reference if no Return-Path header field was present in the message |
Sender | This is the sender of the email address. a null reference if no Sender header field was present in the message |
Subject | The subject line of the message in decoded, one line state. This should be in all messages. a null reference if no Subject header field was present in the message |
To | Specifies who this mail was for The list will be empty if no To header was present in the message |
UnknownHeaders | All headers which were not recognized and explicitly dealt with. This should mostly be custom headers, which are marked as X-[name]. This list will be empty if all headers were recognized and parsed. |
See Also
MessageHeader Class | OpenPop.Mime.Header Namespace