Click or drag to resize
EmailSenderSendEmail Method (String, EmailMessage, Boolean)
Send an e-mail with the site settings.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 12.0.0
Syntax
C#
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