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


rcpt Function

This function specifies the recipient of an e-mail message.

Syntax

UTL_SMTP.RCPT (

c           IN OUT NOCOPY connection, 
recipient   IN OUT NOCOPY,
parameters  IN OUT NOCOPY) 
RETURN reply; UTL_SMTP.RCPT (
c           IN OUT NOCOPY connection
recipient   IN OUT NOCOPY,
parameters  IN OUT NOCOPY);
Table 82-12 rcpt Function Parameters
Parameter  Description 

c (IN OUT NOCOPY) 

The SMTP connection. 

recipient (IN OUT NOCOPY) 

The e-mail address of the user to which the message is being sent. 

parameters (IN OUT NOCOPY) 

The additional parameters to RCPT command as defined in Section 6 of [RFC1869]. It should follow the format of "XXX=XXX (XXX=XXX ....)". 

Usage Notes

To send a message to multiple recipients, call this routine multiple times. Each invocation schedules delivery to a single e-mail address. The message transaction must have been begun by a prior call to mail(), and the connection to the mail server must have been opened and initialized by prior calls to open_connection() and helo() or ehlo(), respectively.

The expected response from the server is a message beginning with status code 250 or 251.


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