mailtool_addRecipient
*//////////////////////////////////////////////////////////////*
* mailtool_addRecipient *
* *
* Input: *
* in_email (required) - The email address. *
* in_name - The name of the recipient. *
* in_type - The type of the recipient (Default TO) *
* *
* Output: *
* out_errMsg - The error message (if error exists). *
* *
* Returns: *
* -1 for error, n number of recipients *
* *
*//////////////////////////////////////////////////////////////*
D mailtool_addRecipient...
D PR 10i 0
D in_email 256 Value
D in_name 256 Value Options(*NOPASS)
D in_type 10i 0 Value Options(*NOPASS)
D out_errMsg 256 Options(*NOPASS)
This function will add a recipient to the email to be sent.
The in_type value should be 0 for TO, 1 for CC, and 2 for BCC. You can also use the specific functions to add TO, CC or BCC type recipients.