RSET is used to terminate the current email transaction.
Applicability
This content applies only to the Oracle-compatible mode of OceanBase Database.
Syntax
UTL_SMTP.RSET (
c IN OUT NOCOPY connection)
RETURN reply;
UTL_SMTP.RSET (
c IN OUT NOCOPY connection);
Parameters
| Parameter | Description |
|---|---|
| c | The SMTP connection. |
Return value
| Return value | Description |
|---|---|
| reply | The reply to the command. If multiple replies are returned, the last reply is returned. |
Considerations
- The
RESTcommand allows canceling the email being composed without sending it. It can be used betweenopen_connectionanddataoropen_datato cancel the email transaction. However, once the email starts being sent, it cannot be stopped. - The expected response is a message starting with
250, indicating that the current email transaction has been terminated.