Click or drag to resize

IEmailServiceSend Method (String, String, String, String, String, String, Boolean, Attachment, SendEmailFlags, String)

Sends a text or HTML e-mail message using the specified basic parameters (from, to, subject, messageText), with CC and BCC addresses, with attachments, with SendEmailFlags options, and using a Template for the email composition.

Namespace:  NetQuarry.Services
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
void Send(
	string from,
	string to,
	string cc,
	string bcc,
	string subject,
	string messageText,
	bool bodyIsHtml,
	Attachment[] attachments,
	SendEmailFlags flags,
	string templateName
)

Parameters

from
Type: SystemString
The address of the e-mail sender
to
Type: SystemString
The address of the e-mail recipients
cc
Type: SystemString
A list of names to be included in the CC line.
bcc
Type: SystemString
A list of names to be included in the BCC line
subject
Type: SystemString
The subject of the email
messageText
Type: SystemString
The body of the message to send
bodyIsHtml
Type: SystemBoolean
The messageText param is HTML.
attachments
Type: System.Net.MailAttachment
Array of mail attachments.
flags
Type: NetQuarry.ServicesSendEmailFlags
Behavior flags
templateName
Type: SystemString
The name of a template associated with the mail message.
See Also