DomainKeysVerifyAsync Method (MailMessage, Smtp, DomainKeysTypes) |
Namespace: MailBee.SecurityAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<DomainKeysVerifyResult> VerifyAsync(
MailMessage msg,
Smtp dnsRequestor,
DomainKeysTypes dkTypes
)
Public Function VerifyAsync (
msg As MailMessage,
dnsRequestor As Smtp,
dkTypes As DomainKeysTypes
) As Task(Of DomainKeysVerifyResult)
Parameters
- msg
- Type: MailBee.MimeMailMessage
The mail message to be verified. - dnsRequestor
- Type: MailBee.SmtpMailSmtp
The instance of Smtp class to be used for making DNS queries. - dkTypes
- Type: MailBee.SecurityDomainKeysTypes
Specifies which signatures to verify (classic DK, newer DKIM, or both).
Return Value
Type:
TaskDomainKeysVerifyResultA task that represents the asynchronous operation.
The value of
TResult parameter is the result of the verification.
Exceptions See Also