DomainKeysVerifyAsync Method (MailMessage, Smtp, Header) |
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,
Header dkHeader
)
Public Function VerifyAsync (
msg As MailMessage,
dnsRequestor As Smtp,
dkHeader As Header
) 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. - dkHeader
- Type: MailBee.MimeHeader
The source message's DomainKey-Signature or DKIM-Signature to be verified.
Return Value
Type:
TaskDomainKeysVerifyResultA task that represents the asynchronous operation.
The value of
TResult parameter is the result of the verification.
Exceptions See Also