Click or drag to resize
EmailSender.SendEmailWithTemplateText 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: 9.0.0
Syntax
C#
public static void SendEmailWithTemplateText(
	string siteName,
	EmailMessage message,
	EmailTemplateInfo template,
	string[,] values
)

Parameters

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