OPEN_DATA procedure - Send the DATA command to the SMTP server

The OPEN_DATA procedure sends the DATA command to the SMTP server.

Syntax

Read syntax diagramSkip visual syntax diagramUTL_SMTP.OPEN_DATA( c,reply)

Parameters

c
An input argument of type CONNECTION that specifies the SMTP connection on which to send the command
reply
An optional output argument of type REPLY that returns a single reply line from the SMTP server. It is the last reply line if multiple reply lines are returned by the SMTP server.

Authorization

EXECUTE privilege on the UTL_SMTP module.

Usage notes

This procedure can be invoked using function invocation syntax in a PL/SQL assignment statement.