g4msmail_listMessages

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

* g4msmail_listMessages - List Messages *

* *

* Output: *

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

* *

* Returns: *

* -1 for error, number of messages for success. *

* *

* Settable Variables ([r]=required) *

* id - MS ID [r] *

* get_new_only - Retrieve only new emails (*YES, *NO) *

* label_id - The label ID to retrieve messages from. Blank *

* will retrieve all messages. *

* filter - A proper MS filter query, escaped where needed. *

* will retrieve all messages. *

* https://docs.microsoft.com/en-us/graph *

* /query-parameters#filter-parameter *

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

* ccsid - The CCSID to use (1208) *

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

* debug_file - The debug file name. *

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

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

D g4msmail_listMessages...

D PR 10i 0

D out_errMsg 256 Options(*NOPASS)