ISMTPServerSiteInfoProviderGetAsync Method |
Namespace: CMS.EmailEngineAssembly: CMS.EmailEngine (in CMS.EmailEngine.dll) Version: 13.0.131
Syntax 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:
TaskSMTPServerSiteInfoReturns a task returning either an instance of
SMTPServerSiteInfo corresponding to given identifiers or null.
See Also