DB2 Version 9.7 for Linux, UNIX, and Windows

WRITE_DATA procedure - Write a portion of an email message

The WRITE_DATA procedure provides the capability to add data to an email message. The WRITE_DATA procedure may be called repeatedly to add data.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-UTL_SMTP.WRITE_DATA--(--c--,--data--)-----------------------><

Parameters

c
An input or output argument of type CONNECTION that specifies the SMTP connection on which to add data.
data
An input argument of type VARCHAR(32000) that specifies the data to be added to the email message.

Authorization

EXECUTE privilege on the UTL_SMTP module.