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

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

Parameters

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