Download MCM4XB Reference Manual - MarshallSoft Computing

Transcript
2.16 XmcmOpenReply: Open reply file for processing.
SYNTAX
Code = XmcmOpenReply(@RemoveFile, @RemoveString)
RemoveFile
: (STRING) Pathname of reply file.
RemoveString : (STRING) Reply string.
REMARKS
The XmcmOpenReply function opens a reply file that is associated with the specified subject string. When
reading client replies (to previously sent email), if the subject begins with the specified string, as for example,
REMOVE [email protected]
then the email address following the string ("REMOVE" in the example above) is written to the reply file.
More than one reply file can be opened.
RETURNS
< 0 : Error (see Section 3.0 MCM Error List)
> 0 : No error.
EXAMPLE CODE
RemoveFile = "c:\mcm4xb\apps\remove.txt"
RemoveString = "REMOVE"
* open file for replies on subject line "REMOVE email-address"
Code = XmcmOpenReply(@RemoveFile, @RemoveString)
EXAMPLE PROGRAMS
GetReply
ALSO SEE
XmcmOpenSkip and XmcmOpenBounce
21