The VRFY command is used to verify the validity of the specified email address.
Applicability
This topic applies only to OceanBase Database in Oracle mode.
Syntax
UTL_SMTP.VRFY (
c IN OUT NOCOPY connection
recipient IN VARCHAR2)
RETURN reply;
Parameters
Parameter |
Description |
|---|---|
| c | The SMTP connection. |
| recipient | The email address to be verified. |
Return value
Return value |
Description |
|---|---|
| reply | The response to the command. If there are multiple responses, the last one is returned. |
Considerations
- The server will attempt to resolve the email address to be verified. If successful, it will return the recipient's full name and fully qualified email path.
- This command must be called after
open_connectionandheloorehlo. - The expected return value is a response starting with
250or251.250: The SMTP server successfully processed the VRFY (verify) request and can confirm that the queried email address is valid. This means the email address exists and can receive mail.251: If the email address to be verified is not local but the server knows how to forward it to the correct destination, this code may be returned.
