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
Aa567036.pubproperty(en-us,EXCHG.80).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.
Aa567036.pubproperty(en-us,EXCHG.80).gif DeliveryPriority When overridden in a derived class, the DeliveryPriority property gets or sets the DeliveryPriority value of the message.
Aa567036.pubproperty(en-us,EXCHG.80).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.
Aa567036.pubproperty(en-us,EXCHG.80).gif EnvelopeId When overridden in a derived class, the EnvelopeId property gets or sets the identifier (ID) for the envelope of the message.
Aa567036.pubproperty(en-us,EXCHG.80).gif FromAddress When overridden in a derived class, the FromAddress property gets or sets the routing address of the sender of the message.
Aa567036.pubproperty(en-us,EXCHG.80).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.
Aa567036.pubproperty(en-us,EXCHG.80).gif Message When overridden in a derived class, the Message property gets the underlying EmailMessage class object enclosed by the MailItem class object.
Aa567036.pubproperty(en-us,EXCHG.80).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.
Aa567036.pubproperty(en-us,EXCHG.80).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).
Aa567036.pubproperty(en-us,EXCHG.80).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.
Aa567036.pubproperty(en-us,EXCHG.80).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.
Aa567036.pubproperty(en-us,EXCHG.80).gif Properties When overridden in a derived class, the Properties property gets a list of named value pairs representing properties for the MailItem class.
Aa567036.pubproperty(en-us,EXCHG.80).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
Aa567036.pubmethod(en-us,EXCHG.80).gif Equals  Overloaded. (inherited from Object )
Aa567036.pubmethod(en-us,EXCHG.80).gif GetHashCode  (inherited from Object )
Aa567036.pubmethod(en-us,EXCHG.80).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.
Aa567036.pubmethod(en-us,EXCHG.80).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.
Aa567036.pubmethod(en-us,EXCHG.80).gif GetType  (inherited from Object )
Aa567036.pubmethod(en-us,EXCHG.80).gifAa567036.static(en-us,EXCHG.80).gif ReferenceEquals  (inherited from Object )
Aa567036.pubmethod(en-us,EXCHG.80).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).
Aa567036.pubmethod(en-us,EXCHG.80).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Aa567036.protmethod(en-us,EXCHG.80).gif Finalize  (inherited from Object )
Aa567036.protmethod(en-us,EXCHG.80).gif MemberwiseClone  (inherited from Object )

Top