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 , 5 of 15


command(), command_replies() Functions

These functions perform generic SMTP commands.

Syntax

UTL_SMTP.COMMAND (

c    IN connection,
cmd  IN VARCHAR2,
arg  IN VARCHAR2 DEFAULT NULL) 
RETURN reply; UTL_SMTP.COMMAND (
c    IN connection,
cmd  IN VARCHAR2,
arg  IN ARCHAR2 DEFAULT NULL);
UTL_SMTP.COMMAND_REPLIES (
c    IN connection,
cmd  IN VARCHAR2,
arg  IN VARCHAR2 DEFAULT NULL)
RETURN replies;

Parameters

Table 82-8 command (), command_replies () Function Parameters
Parameter  Description 

c (IN) 

The SMTP connection. 

cmd (IN) 

The SMTP command to send to the server. 

arg (IN) 

The optional argument to the SMTP argument. A space will be inserted between cmd and arg

Usage Notes

These are the APIs used to invoke generic SMTP commands. Use command() if only a single reply line is expected. Use command_replies() if multiple reply lines are expected (in other words, EXPN or HELP).

For command(), if multiple reply lines are returned from the SMTP server, it returns the last reply line only.


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