The OnVerifyEmailAddressFailedevent occurs when a mail is about to be
received. The mail message can be accessed using the intrinsic Mail
object.
Syntax
Sub DataSource_OnVerifyEmailAddressFailed(FailReason)
. . . End Sub
Parameters
FailReason
An Integer that specifies the email address verification failure
reason. This parameter can be one of the following values:
0 = Success
1 = Error in the email syntax
2 = The DNS MX Record could not be found for the email domain
3 = The SMTP mail server has refused the email address on a RCPT TO:
command
Remarks
If the message is not accepted, the Accept variable should never be set to
False, it should be left unmodified.