Click or drag to resize
ModuleCommandsSendEmail Method
Sends the e-mail.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static void SendEmail(
	string emailAddress,
	string fromEmailAddress,
	string emailSubject,
	string emailBody,
	string emailPlainTextBody,
	string siteName
)

Parameters

emailAddress
Type: SystemString
E-mail address(es) of recipient(s). Use semicolon as a separator.
fromEmailAddress
Type: SystemString
E-mail address from which is the email sent
emailSubject
Type: SystemString
E-mail subject
emailBody
Type: SystemString
E-mail body
emailPlainTextBody
Type: SystemString
E-mail plain text body (optional)
siteName
Type: SystemString
Name of the site (optional)
See Also