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

Sends a Mail message.

Definition

Namespace: Gemstone.Net.Smtp
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.166 -- Release Build+d3cb24a90fe44346300dfbb17444d7b350f42d79
public static void Send(
	string from,
	string toRecipients,
	string? ccRecipients,
	string? bccRecipients,
	string? subject,
	string? body,
	bool isBodyHtml,
	string? attachments,
	string smtpServer
)

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.
attachments  String
A comma-separated or semicolon-separated list of file names to be attached to the Mail message.
smtpServer  String
The name or IP address of the SMTP server to be used for sending the Mail message.

See Also