Click or drag to resize

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

Sends a Mail message.

Namespace: GSF.Net.Smtp
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static void Send(
	string from,
	string toRecipients,
	string ccRecipients,
	string bccRecipients,
	string subject,
	string body,
	bool isBodyHtml,
	string smtpServer
)
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.
ccRecipients  String
A comma-separated or semicolon-separated e-mail address list of the Mail message carbon copy (CC) recipients.
bccRecipients  String
A comma-separated or semicolon-separated e-mail address list of the Mail message blank carbon copy (BCC) 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.
See Also