DATA procedure - Specify the body of an e-mail message
The DATA procedure provides the capability to specify the body of the e-mail message.
The message is terminated with a
<CR><LF>.<CR><LF> sequence.Syntax
Parameters
- c
- An input or output argument of type CONNECTION that specifies the SMTP connection to which the command is to be sent.
- body
- An input argument of type VARCHAR(32000) that specifies the body of the e-mail message to be sent.
- 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.
