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 (c IN OUT NOCOPY connection)RETURN VARCHAR2; UTL_SMTP.QUIT (c IN OUT NOCOPY connection);
Parameter | Description |
---|---|
|
The SMTP connection. |
The 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 rset().
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 remote_host
and remote_port
of c
are reset.
rset()
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|