Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

MailMessage Properties

The MailMessage type exposes the following members.

  Name Description
Public property AlternateViews Gets the attachment collection used to store alternate forms of the message body.
Public property Attachments Gets the attachment collection used to store data attached to this e-mail message.
Public property Bcc Gets the address collection that contains the blind carbon copy (BCC) recipients for this e-mail message.
Public property Body Gets or sets the message body.
Public property BodyEncoding Gets or sets the encoding used to encode the message body.
Public property BodyTransferEncoding Gets or sets the transfer encoding used to encode the message body.
Public property CC Gets the address collection that contains the carbon copy (CC) recipients for this e-mail message.
Public property DeliveryNotificationOptions Gets or sets the delivery notifications for this e-mail message.
Public property From Gets or sets the from address for this e-mail message.
Public property Headers Gets the e-mail headers that are transmitted with this e-mail message.
Public property HeadersEncoding Gets or sets the encoding used for the user-defined custom headers for this e-mail message.
Public property IsBodyHtml Gets or sets a value indicating whether the mail message body is in Html.
Public property Priority Gets or sets the priority of this e-mail message.
Public property ReplyTo Obsolete. Gets or sets the ReplyTo address for the mail message.
Public property ReplyToList Gets or sets the list of addresses to reply to for the mail message.
Public property Sender Gets or sets the sender's address for this e-mail message.
Public property Subject Gets or sets the subject line for this e-mail message.
Public property SubjectEncoding Gets or sets the encoding used for the subject content for this e-mail message.
Public property To Gets the address collection that contains the recipients of this e-mail message.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.