QUIT procedure - Close the session with the SMTP server

The QUIT procedure closes the session with an SMTP server.

Syntax

Read syntax diagramSkip visual syntax diagramUTL_SMTP.QUIT(c ,reply)

Parameters

c
An input or output argument of type CONNECTION that specifies the SMTP connection to terminate.
reply
An optional output argument of type REPLY that returns a single reply line from the SMTP server. It is the last reply line if multiple reply lines are returned by the SMTP server.

Authorization

EXECUTE privilege on the UTL_SMTP module.

Usage notes

This procedure can be invoked using function invocation syntax in a PL/SQL assignment statement.