The COMMAND_REPLIES function 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 to be sent to the server. |
| arg | The SMTP command parameter. When the command is actually 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.
