EHLO is used to execute the EHLO command, initiating the handshake with the SMTP service.
Applicability
This content applies only to the Oracle-compatible mode of OceanBase Database.
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 multiple replies are returned, the last reply 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 begins with the status code 250.