AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageSMTPClient Constructor (SQL, Int32, Int32, String)

Initializes a new instance of the AdvantageSMTPClient class. Pass the id of any configured server for sending email. Default is the SmtpAdminUserNotification server.

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

Syntax


public AdvantageSMTPClient(
	SQL currentSql,
	int domainId,
	int languageId,
	string id
)

Parameters

currentSql
Type: AdvantageCMS.Data..::..SQL
The current SQL.
domainId
Type: Int32
The domain identifier.
languageId
Type: Int32
The language identifier.
id
Type: String
The identifier.