g4ms_resendMail

*//////////////////////////////////////////////////////////////*

* g4msmail_resendMail - resend an email based upon an ID *

* *

* Input: *

* in_uniqueID (required) - The unique ID of the email to *

* resend. This ID must exist in the G4MSMLGPF log file *

* and the associated JSON file must also exist in the IFS. *

* *

* Output: *

* out_errMsg - The error message (if error exists). *

* *

* Returns: *

* -1 for error, 0 for success. *

* *

* Settable Variables ([r]=required) *

* id - MS ID [r] *

* reset - Reset Values when Done (*YES) *

* ccsid - The CCSID to use (1252) *

* debug - Turn on Debug (*NO, *YES) *

* debug_file - The debug file name. *

* (/tmp/g4ms_[id]_sendMail.txt) *

*//////////////////////////////////////////////////////////////*

D g4msmail_resendMail...

D PR 10i 0

D in_uniqueID 24 Const

D out_errMsg 256 Options(*NOPASS)

g4msmail_resendMail is used to resend an email using the G4MSMAIL functions.

Returns: 0 for success, -1 for error.

Required Parameters:

  • Email ID (input) - Specify the unique ID of the email that you want to resend. This unique ID must exist in the G4MSMLGPF file and the JSON file associated with the email must also still exist.

Optional Parameters:

  • Error Message (output) - Error message

Settable Values:

  • id (required) - Specify the ID of the Microsoft Office 365 account