CLOSE_DATA procedure - End an e-mail message

The CLOSE_DATA procedure terminates an e-mail message

The procedure terminates an e-mail message by sending the following sequence:
<CR><LF>.<CR><LF>
This is a single period at the beginning of a line.

Syntax

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

Parameters

c
An input or output argument of type CONNECTION that specifies the SMTP connection to be closed.
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.