The properties of the GmailMessage class are listed below. For a complete list of GmailMessage class members, see the GmailMessage Members topic.
![]() GmailServer | The name of the gmail server, the default is "smtp.gmail.com" |
![]() GmailServerPort | The port to use when sending the email, the default is 465 |
Attachments (inherited from MailMessage) | Specifies the collection of attachments that are transmitted with the message. |
Bcc (inherited from MailMessage) | Gets or sets a semicolon-delimited list of email addresses that receive a blind carbon copy (BCC) of the e-mail message. |
Body (inherited from MailMessage) | Gets or sets the body of the e-mail message. |
BodyEncoding (inherited from MailMessage) | Gets or sets the encoding type of the body of the e-mail message. |
BodyFormat (inherited from MailMessage) | Gets or sets the content type of the body of the e-mail message. |
Cc (inherited from MailMessage) | Gets or sets a semicolon-delimited list of e-mail addresses that receive a carbon copy (CC) of the e-mail message. |
Fields (inherited from MailMessage) | [To be supplied.] |
From (inherited from MailMessage) | Gets or sets the e-mail address of the sender. |
GmailPassword | The password of the gmail account that the message will be sent through |
GmailUserName | The username of the gmail account that the message will be sent through |
Headers (inherited from MailMessage) | Specifies the custom headers that are transmitted with the e-mail message. |
Priority (inherited from MailMessage) | Gets or sets the priority of the e-mail message. |
Subject (inherited from MailMessage) | Gets or sets the subject line of the e-mail message. |
To (inherited from MailMessage) | Gets or sets a semicolon-delimited list of recipient e-mail addresses. |
UrlContentBase (inherited from MailMessage) | Gets or sets the Content-Base HTTP header, the URL base of all relative URLs used within the HTML-encoded body of the e-mail message. |
UrlContentLocation (inherited from MailMessage) | Gets or sets the Content-Location HTTP header for the e-mail message. |
GmailMessage Class | RC.Gmail Namespace