Sends the VRFY command.
The VRFY command requests the server to "verify" a recipient address.
The VRFY command is used primarily to debug addresses. A mail administrator can telnet to the SMTP port, type the VRFY command, and view the server's responses. The VRFY command is not used to send mail. Consequently, the VRFY command is an optional command in SMTP, and may not be implemented in all servers. In addition, a mail administrator may disable the VRFY command to unknown clients in order to protect the privacy of its users.
If the server finds the recipient address to be valid, it returns a 25x reply code. If the server finds the address to be invalid, it returns a 55x reply code. If the server refuses to execute the VRFY command for policy reasons, it returns a 252 reply code.
| Exception Type | Condition |
|---|---|
| Exception | If a network or protocol error occurs. |
SmtpClient Class | Hunny.Mail Namespace | VRFY command in the SMTP specification