| EmailSenderSendEmail Method (String, EmailMessage, String, MacroResolver, Boolean) | 
            Sends an e-mail based on the template and dynamically merged values.
            
 
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
 Syntax
Syntaxpublic static void SendEmail(
	string siteName,
	EmailMessage message,
	string templateName,
	MacroResolver resolver,
	bool sendImmediately
)
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
- resolver
- Type: CMS.MacroEngineMacroResolver
 Macro resolver which will be used to resolve the e-mail body (plain) text and subject
- sendImmediately
- Type: SystemBoolean
 Send e-mail directly
 See Also
See Also