Click or drag to resize

Mail Properties

The Mail type exposes the following members.

Properties
  Name Description
Public property Attachments Gets or sets the comma-separated or semicolon-separated list of file names to be attached to the Mail message.
Public property BccRecipients Gets or sets the comma-separated or semicolon-separated e-mail address list of the Mail message blank carbon copy (BCC) recipients.
Public property Body Gets or sets the body of the Mail message.
Public property CcRecipients Gets or sets the comma-separated or semicolon-separated e-mail address list of the Mail message carbon copy (CC) recipients.
Public property Client Gets the SmtpClient object used for sending the Mail message.
Public property EnableSSL Gets or sets the flag that determines whether to use SSL when communicating with the SMTP server.
Public property From Gets or sets the e-mail address of the Mail message sender.
Public property IsBodyHtml Gets or sets a boolean value that indicating whether the Mail message Body is to be formatted as HTML.
Public property Password Gets or sets the password used to authenticate to the SMTP server.
Public property SecurePassword Gets or sets the password used to authenticate to the SMTP server.
Public property SmtpServer Gets or sets the name or IP address of the SMTP server to be used for sending the Mail message.
Public property Subject Gets or sets the subject of the Mail message.
Public property ToRecipients Gets or sets the comma-separated or semicolon-separated e-mail address list of the Mail message recipients.
Public property Username Gets or sets the username used to authenticate to the SMTP server.
Top
See Also