WebMail Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a way to construct and send an email message using Simple Mail Transfer Protocol (SMTP).
public static class WebMail
type WebMail = class
Public Class WebMail
- Inheritance
-
WebMail
Properties
EnableSsl |
Gets or sets a value that indicates whether Secure Sockets Layer (SSL) is used to encrypt the connection when an email message is sent. |
From |
Gets or sets the email address of the sender. |
Password |
Gets or sets the password of the sender's email account. |
SmtpPort |
Gets or sets the port that is used for SMTP transactions. |
SmtpServer |
Gets or sets the name of the SMTP server that is used to transmit the email message. |
SmtpUseDefaultCredentials |
Gets or sets a value that indicates whether the default credentials are sent with the requests. |
UserName |
Gets or sets the name of email account that is used to send email. |
Methods
Send(String, String, String, String, String, IEnumerable<String>, Boolean, IEnumerable<String>, String, String, String, String, String) |
Sends the specified message to an SMTP server for delivery. |
Applies to
Feedback
Submit and view feedback for