The HELO command is used to initiate the initial handshake with the SMTP service.
Applicability
This topic applies only to OceanBase Database in Oracle mode.
Syntax
UTL_SMTP.HELO (
c IN OUT NOCOPY connection,
domain IN VARCHAR2)
RETURN reply;
UTL_SMTP.HELO (
c IN OUT NOCOPY connection,
domain IN VARCHAR2);
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 expected return value is a message starting with 250, indicating that the SMTP server is ready to establish communication.