Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords:
I'm working with the Postie extender WWPST32i.ddl from 07-03-00.
The subject field of some of the messages is the text:
msgs=kGetMail('','mail.dat','Thistle','','') ; pat matchor
msgs=kGetMail('','mail.dat','|Butterfly','','') ;nopat match
msgs=kGetMail('','mail.dat','*Thistle*','','r4')but do not use the wildcard character matching in the "nopat" option. Nopat has the ability to search for substrings within Subject strings.
Syntax: kGetMail(msgnumber,outputfile,pat,mailfolder,flags) OR kGetMail(msgnumber,outputfile,strcat("|",nopat),mailfolder,flags) "pat" is the wildcard pattern the subject of the email must match to process message (otherwise it is skipped.) "pat" and "nopat" are mutually exclusive; you cannot specify both. "nopat" is the wildcard pattern the subject of the email must not match to process message (otherwise it is skipped). To specify "nopat", you must put a vertical bar "|" before the "nopat", e.g., kGetMail('','mail.dat','|Butterfly','',''). "pat" and "nopat" are mutually exclusive; you cannot specify both.
Article ID: W14544
Filename: kGetMail and Pattern Matching.txt
File Created: 2001:03:16:14:43:28
Last Updated: 2001:03:16:14:43:28