COMMAND_REPLIES is used to execute general SMTP commands and receive multiple reply lines.
Applicability
This topic applies only to OceanBase Database in Oracle mode.
Syntax
UTL_SMTP.COMMAND_REPLIES (
c IN OUT NOCOPY connection,
cmd IN VARCHAR2,
arg IN VARCHAR2 DEFAULT NULL)
RETURN replies;
Parameters
| Parameter | Description |
|---|---|
| c | The SMTP connection. |
| cmd | The command command sent to the server. |
| arg | The SMTP command argument. When the command is sent, a space is added between cmd and arg. |
Return value
| Return value | Description |
|---|---|
| replies | The replies to the command. |
Considerations
This function returns multiple reply lines.