Oracle9i Supplied PL/SQL Packages and Types Reference Release 1 (9.0.1) Part Number A89852-02 |
|
UTL_SMTP , 4 of 15
This function opens a connection to an SMTP server.
UTL_SMTP.OPEN_CONNECTION (host IN VARCHAR2, port IN PLS_INTEGER DEFAULT 25, c OUT connection, tx_timeout IN PLS_INTEGER DEFAULT NULL)RETURN reply; UTL_SMTP.OPEN_+CONNECTION (host IN VARCHAR2, port IN PLS_INTEGER DEFAULT 25, tx_timeout IN PLS_INTEGER DEFAULT NULL)RETURN connection;
The expected response from the server is a message beginning with status code 220.
The version of open_connection()
API that returns utl_smtp.connection
record is actually the procedure version of open_connection
that checks the reply code returned by an SMTP server when the connection is first established.
A timeout on the write operations feature is not supported in the current release of this package.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|