Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

UTL_SMTP , 15 of 15


quit Function

This function terminates an SMTP session and disconnects from the server.

Syntax

UTL_SMTP.QUIT (

c  IN OUT NOCOPY connection) 
RETURN VARCHAR2; UTL_SMTP.QUIT (
c  IN OUT NOCOPY connection);

Parameter

Table 82-18 quit Function Parameters
Parameter  Description 

c (IN OUT NOCOPY) 

The SMTP connection. 

Usage Notes

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.

Related Functions

rset()


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback