mailtool_addAttachment
*//////////////////////////////////////////////////////////////*
* mailtool_addAttachment *
* *
* Input: *
* in_file (required) - The fully qualified file name to *
* attach. *
* in_filename - the name of the file as it will appear *
* in the email. *
* *
* Output: *
* out_errMsg - The error message (if error exists). *
* *
* Returns: *
* -1 for error, Number of attachments *
* *
*//////////////////////////////////////////////////////////////*
D mailtool_addAttachment...
D PR 10i 0
D in_file 256 Value
D in_filename 256 Value Options(*NOPASS)
Use this function to add an attachment to the email. The in_file parameter must contain the fully qualified path and name of the file you wish to attach.