The AUTH command is used to send an authentication command to an 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 allowed to be used in the preferred order. Currently, the PLAIN and LOGIN authentication methods are supported. |
Return value
| Return value | Description |
|---|---|
| reply | The reply to the command. If multiple replies are returned, only the last one is returned. |