Click or drag to resize
EmailSenderSendEmailWithTemplateText Method (String, EmailMessage, EmailTemplateInfo, String)

Note: This API is now obsolete.

Sends an e-mail based on the template text and dynamically merged values.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use SendEmailWithTemplateText(string, EmailMessage, EmailTemplateInfo, MacroResolver, bool) instead.")]
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
Remarks
The template body or subject is not used if the body or subject of the message is not empty.
See Also