Click or drag to resize
EmailSenderSendEmail Method (String, EmailMessage, String, String)
Sends an e-mail based on the template and dynamically merged values.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 8.2.23
Syntax
C#
public static void SendEmail(
	string siteName,
	EmailMessage message,
	string templateName,
	string[,] values
)

Parameters

siteName
Type: SystemString
Site name
message
Type: CMS.EmailEngineEmailMessage
EmailMessage object without body
templateName
Type: SystemString
Name of the template that will be used for e-mail body text
values
Type: SystemString
An array of values that should be dynamically inserted (merged) into the e-mail body (plain) text and subject
See Also