Click or drag to resize

MailSend(String, String, String, String, Boolean, String, String, SecureString, Boolean) Method

Sends a secure Mail message.

Namespace: GSF.Net.Smtp
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public static void Send(
	string from,
	string toRecipients,
	string subject,
	string body,
	bool isBodyHtml,
	string smtpServer,
	string username,
	SecureString password,
	bool enableSSL
)
View Source

Parameters

from  String
The e-mail address of the Mail message sender.
toRecipients  String
A comma-separated or semicolon-separated e-mail address list of the Mail message recipients.
subject  String
The subject of the Mail message.
body  String
The body of the Mail message.
isBodyHtml  Boolean
true if the Mail message body is to be formated as HTML; otherwise false.
smtpServer  String
The name or IP address of the SMTP server to be used for sending the Mail message.
username  String
The username of the account used to authenticate to the SMTP server.
password  SecureString
The password of the account used to authenticate to the SMTP server.
enableSSL  Boolean
The flag that determines whether to use SSL when communicating with the SMTP server.
See Also