WebMail WebMail WebMail Class

Definition

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
WebMailWebMailWebMail

Properties

EnableSsl EnableSsl 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 From From

Gets or sets the email address of the sender.

Password Password Password

Gets or sets the password of the sender's email account.

SmtpPort SmtpPort SmtpPort

Gets or sets the port that is used for SMTP transactions.

SmtpServer SmtpServer SmtpServer

Gets or sets the name of the SMTP server that is used to transmit the email message.

SmtpUseDefaultCredentials SmtpUseDefaultCredentials SmtpUseDefaultCredentials

Gets or sets a value that indicates whether the default credentials are sent with the requests.

UserName UserName 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) Send(String, String, String, String, String, IEnumerable<String>, Boolean, IEnumerable<String>, String, String, String, String, String) 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