MailItem members
The MailItem class is the base class for derived classes that represent the envelope of an e-mail message.
The MailItem type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. | |
DeliveryPriority | When overridden in a derived class, the DeliveryPriority property gets or sets the DeliveryPriority value of the message. | |
DsnFormatRequested | When overridden in a derived class, the DsnFormatRequested property gets or sets the format for Delivery Status Notification (DSN) messages about the message. | |
EnvelopeId | When overridden in a derived class, the EnvelopeId property gets or sets the identifier (ID) for the envelope of the message. | |
FromAddress | When overridden in a derived class, the FromAddress property gets or sets the routing address of the sender of the message. | |
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. | |
Message | When overridden in a derived class, the Message property gets the underlying EmailMessage class object enclosed by the MailItem class object. | |
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. | |
MustDeliver | When overridden in a derived class, the MustDeliver property returns a Boolean value that indicates whether the message is marked for special delivery. | |
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. | |
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. | |
OriginatorOrganization | ||
Properties | When overridden in a derived class, the Properties property gets a list of named value pairs representing properties for the MailItem class. | |
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. | |
TenantId | The TenantId property gets the tenant to which the message belongs. |
Top
Methods
Name | Description | |
---|---|---|
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. | |
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. | |
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. |
Top