EmailSenderSendEmail Method (String, EmailMessage, Boolean) |
Send an e-mail with the site settings.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 12.0.0
Syntax public static void SendEmail(
string siteName,
EmailMessage message,
bool sendImmediately = false
)
Parameters
- siteName
- Type: SystemString
Site name - message
- Type: CMS.EmailEngineEmailMessage
EmailMessage object with body - sendImmediately (Optional)
- Type: SystemBoolean
Send e-mail directly; optional; default value is FALSE
See Also