The EHLO procedure is used to execute the EHLO command and perform the initial handshake with the 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 host that sends the message, used for identification. |
Return value
| Return value | Description |
|---|---|
| reply | The response to the command. If there are multiple responses, 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.