EmailSenderSendEmail Method (String, EmailMessage, Boolean, String, Int32) |
Send an e-mail with the site settings and e-mail set info.
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 9.0.0
Syntax public static void SendEmail(
string siteName,
EmailMessage message,
bool sendImmediately,
string setName,
int setRelatedId
)
Parameters
- siteName
- Type: SystemString
Site name - message
- Type: CMS.EmailEngineEmailMessage
EmailMessage object with body - sendImmediately
- Type: SystemBoolean
Send e-mail directly - setName
- Type: SystemString
Allows to flag e-mail as a part of specific e-mail set, could be null - setRelatedId
- Type: SystemInt32
ID for indication of the e-mail in specific set
See Also