The AUTH command is used to send an authentication command to the SMTP server.
Applicability
This topic applies only to OceanBase Database in Oracle mode.
Syntax
UTL_SMTP.AUTH (
c IN OUT NOCOPY connection,
username IN VARCHAR2,
password IN VARCHAR2,
schemes IN VARCHAR2 DEFAULT NON_CLEARTEXT_PASSWORD_SCHEMES)
RETURN reply;
UTL_SMTP.AUTH (
c IN OUT NOCOPY connection,
username IN VARCHAR2,
password IN VARCHAR2,
schemes IN VARCHAR2 DEFAULT NON_CLEARTEXT_PASSWORD_SCHEMES);
Parameters
Parameter |
Description |
|---|---|
| c | The SMTP connection. |
| username | The username. |
| password | The password. |
| schemes | The authentication schemes that can be used in the preferred order. Currently, PLAIN and LOGIN are supported. |
Return value
Return value |
Description |
|---|---|
| reply | The reply to the command. If multiple replies are returned, only the last one is returned. |
