AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageSMTPClient Members

The AdvantageSMTPClient type exposes the following members.

Constructors


  Name Description
Public method AdvantageSMTPClient(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.
Public method AdvantageSMTPClient(AdvantageSmtpServer)
Initializes a new instance of the AdvantageSMTPClient class. Pass in a pre-configured advantage server for sending email. Consider using the alternate constructor with a predefined server setup in the Admin.

Methods


  Name Description
Public method Send
Sending email based on the credentials obtained on initalization of the object
Public method SendMailAsync
Sending async email based on the credentials obtained on initalization of the object

Properties


  Name Description
Public property DefaultFromAddress
Gets or sets the default from address.