The EHLO procedure executes the EHLO command to perform an initial handshake with the Simple Mail Transfer Protocol (SMTP) service.
Applicability
This topic applies only to OceanBase Database in Oracle mode.
Syntax
UTL_SMTP.EHLO (
c IN OUT NOCOPY connection,
domain IN)
RETURN replies;
UTL_SMTP.EHLO (
c IN OUT NOCOPY connection,
domain IN);
Parameters
Parameter |
Description |
|---|---|
| c | The SMTP connection. |
| domain | The domain name of the sending host, used for identification. |
Return value
Return value |
Description |
|---|---|
| reply | The reply to the command. If there are multiple replies, the last one is returned. |
Considerations
The ehlo command is an extension of the helo command, allowing the server to return descriptive information about its configuration. For compatibility, each line of information starts with the status code 250.
