Click or drag to resize
ISMTPServerSiteInfoProviderGetAsync Method
Asynchronously gets an instance of the SMTPServerSiteInfo binding structure.

Namespace: CMS.EmailEngine
Assembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax
C#
Task<SMTPServerSiteInfo> GetAsync(
	int smtpServerId,
	int siteId,
	Nullable<CancellationToken> cancellationToken = null
)

Parameters

smtpServerId
Type: SystemInt32
SMTP server ID.
siteId
Type: SystemInt32
Site ID.
cancellationToken (Optional)
Type: SystemNullableCancellationToken
The cancellation instruction.

Return Value

Type: TaskSMTPServerSiteInfo
Returns a task returning either an instance of SMTPServerSiteInfo corresponding to given identifiers or null.
See Also