#g4msmail_replyToMail
*//////////////////////////////////////////////////////////////*
* g4msmail_replyToMail - Reply to an Email Message *
* *
* Output: *
* out_uniqueID - The ID of the email message (if successful).*
* out_errMsg - The error message (if error exists). *
* *
* Returns: *
* -1 for error, 0 for success *
* *
* Settable Variables ([r]=required) *
* id - Google ID [r] *
* comment - The comment to add to the forwarded message. *
* message - Email Message (only comment or message can be *
* used). *
* The special value of *STMF can be used to load *
* the email message from a stream file. *
* message_stream_file - If *STMF is used for the value of *
* message, this should contain the *
* fully qualified path to the stream *
* file containg the message. *
* message_content_type - The content type of the message *
* body. *
* Valid values: *
* text *
* html *
* message_id - The message/thread ID to reply to. *
* ccsid - The CCSID to use (1208) *
* debug - Turn on Debug (*NO, *YES) *
* debug_file - The debug file name. *
* (/tmp/g4g_[msgid]_replyToMail.txt) *
* *
*//////////////////////////////////////////////////////////////*
D g4msmail_replyToMail...
D PR 10i 0
D out_uniqueID 24 Options(*NOPASS)
D out_errMsg 256 Options(*NOPASS)
g4msmail_replyYoMail is used to reply to an existing email message using the G4MSMAIL functions. When sending a reply, if you do not add any recipients the reply will go to the original sender (or the reply to address of the email).
If you do add TO, CC, and/or BCC recipients and still wish the reply to reach to the sender you will need to be sure to include that address.
Either a comment OR a message can be specified. If a comment is used, the comment will be placed above the original email message when sent. If a message is specified the original message will NOT be included in the reply unless you specifically add it.
Returns: 0 for success, -1 for error.
Optional Parameters:
Unique ID (output) - The ID of the email message that was sent.
Error Message (output) - Error message
Settable Values:
id (required) - Specify the ID of the Microsoft Office 365 account
comment (optional) - Specify the comment to include with the reply.
message (optional) - Specify the message to use on the reply. The original message will NOT be included unless you specifically add it to the message. The special value of *STMF can be used to use the contents of a stream file as the body of the message.
message_stream_file - If *STMF is specified for message, this value should be the fully qualified path to the stream file to use as the body of the message.
message_content_type - Specify the message content type. The valid values are text and html.
message_id (required) - Specify the MS email ID to forward.