AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

EmailUtil..::..SendGenericEmail Method (String, String, String, MailAddress)

Sends a plain-text email to a single recipient.

Namespace:  AdvantageCMS.Core.Common
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static void SendGenericEmail(
	string emailTo,
	string subject,
	string body,
	MailAddress emailFrom
)

Parameters

emailTo
Type: String
The recipient email address.
subject
Type: String
The email subject line.
body
Type: String
The plain-text body content of the email.
emailFrom
Type: MailAddress
The sender address. If null, uses the configured no-reply address from AppSettings.