EmailSenderSendEmail Method (String, EmailMessage, String, String) |
Note: This API is now obsolete.
Sends an e-mail based on the template and dynamically merged values.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 10.0.0
Syntax [ObsoleteAttribute("Use SendEmail(string, Emailmessage, string, MacroResolver, bool) instead.")]
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