MailItem Members
The MailItem class is the base class for derived classes that represent the envelope of an e-mail message.
The following tables list the members exposed by the MailItem type.
Public Properties
| Name | Description | |
|---|---|---|
| .gif) | DateTimeReceived | When overridden in a derived class, the DateTimeReceived property gets the Coordinated Universal Time (UTC) date and time that the messaging system received the message. | 
| .gif) | DeliveryPriority | When overridden in a derived class, the DeliveryPriority property gets or sets the DeliveryPriority value of the message. | 
| .gif) | DsnFormatRequested | When overridden in a derived class, the DsnFormatRequested property gets or sets the format for Delivery Status Notification (DSN) messages about the message. | 
| .gif) | EnvelopeId | When overridden in a derived class, the EnvelopeId property gets or sets the identifier (ID) for the envelope of the message. | 
| .gif) | FromAddress | When overridden in a derived class, the FromAddress property gets or sets the routing address of the sender of the message. | 
| .gif) | InboundDeliveryMethod | When overridden in a derived class, the InboundDeliveryMethod method gets a value that indicates the inbound delivery method for this instance of the MailItem class. | 
| .gif) | Message | When overridden in a derived class, the Message property gets the underlying EmailMessage class object enclosed by the MailItem class object. | 
| .gif) | MimeStreamLength | When overridden in a derived class, the MimeStreamLength property gets the current length of the Multipurpose Internet Mail Extensions (MIME) content for this instance of the derived class. | 
| .gif) | MustDeliver | When overridden in a derived class, the MustDeliver property returns a Boolean value that indicates whether the message is marked for special delivery. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1). | 
| .gif) | OriginalAuthenticator | When overridden in a derived class, the OriginalAuthenticator property gets or sets the name of the user who originally logged on to the messaging system to send the message. | 
| .gif) | OriginatingDomain | When overridden in a derived class, the OriginatingDomain property gets the HELO or EHLO string presented to the Simple Mail Transfer Protocol (SMTP) server. | 
| .gif) | Properties | When overridden in a derived class, the Properties property gets a list of named value pairs representing properties for the MailItem class. | 
| .gif) | Recipients | When overridden in a derived class, the Recipients property gets the collection of recipients on the envelope. This includes To, Cc, and Bcc recipients. | 
Top
Public Methods
(see also Protected Methods )
| Name | Description | |
|---|---|---|
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetMimeReadStream | When overridden in a derived class, the GetMimeReadStream method gets a readable stream that contains the Multipurpose Internet Mail Extensions (MIME) content for the derived class. | 
| .gif) | GetMimeWriteStream | When overridden in a derived class, the GetMimeWriteStream method gets a writeable stream that contains the Multipurpose Internet Mail Extensions (MIME) content for the derived class. | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | SetMustDeliver | When overridden in a derived class, the SetMustDeliver method specifies that the message will remain in queue until it is delivered, without expiring or generating a non-delivery report (NDR). Executing the SetMustDeliver method sets the value of the MustDeliver property to true. This member was introduced in Microsoft Exchange Server 2007 Service Pack 1 (SP1). | 
| .gif) | ToString | (inherited from Object ) | 
Top
Protected Methods
| Name | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
Top