|Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)
Part Number A89852-02
UTL_SMTP , 15 of 15
This function terminates an SMTP session and disconnects from the server.
UTL_SMTP.QUIT ( RETURN VARCHAR2; UTL_SMTP.QUIT (
The SMTP connection.
quit() command informs the SMTP server of the client's intent to terminate the session. It then closes the connection established by
open_connection(), which must have been called before executing this command. If a mail transaction is in progress when
quit() is issued, it is abandoned in the same manner as
The function form of this command returns a single line beginning with the status code 221 on successful termination. In all cases, the connection to the SMTP server is closed. The fields
c are reset.