Method Protocols.SMTP.AsyncClient()->verify()
- Method
verify
voidverify(stringaddr,function(:void)cb,mixed...args)- Description
Verifies the mail address
addragainst the mail server.The callback will be called with
cb(({ code, message }), @args);
where code and message are
Array intcodeThe numerical return code from the VRFY call.
stringmessageThe textual answer to the VRFY call.
or
cb(({ 1, errno(), error_string, int(0..1) direct }), @args);cb(({ 0, smtp-errorcode, error_string, int(0..1) direct }), @args);
with
directbeing1if this verify operation caused the error when the message can't be verified or when an error occurs.- Note
Some mail servers does not answer truthfully to verification queries in order to prevent spammers and others to gain information about the mail addresses present on the mail server.