ucUploadGetContent

Purpose

This is used to get a copy of the uploaded file content for email inclusion..

Applies To

File attachments

Signature

public InputStream ucUploadGetContent ( Object uploadObject, 
                              SesameSession session, 
                              Connection dbconn, 
                              String uploadObjectType ) throws Exception ;

Notes

The binary content of the uploaded object must be made available for email inclusion. Emails that include attachments, images, or documents generally have a thumbnail of the object in addition to the binary object in its entirety, not just a link. The ucUploadGetContent method is invoked to populate the email message with the content of the object. The thumbnail is obtained directly from the object in the database.

The InputStream returned value must stream the binary contents of the upload object for inclusion in emails.

For more information, please see here.