Download MCM User`s Manual - MarshallSoft Computing
Transcript
9 Delete Codes
When reading email (recipient replies), MCM divides incoming email into three mutually exclusive
classes:
a. Failure messages ("bounced email") from the server.
b. User reply message (e.g.: "REMOVE email-address").
c. Everything else.
As each email is read when mcmReadReply is called, the 'DeleteCode' argument specifies if the email is
to be deleted after it is read.
DeleteCode Action
1
2
4
Delete if message is a failure message
Delete if message is a recipient reply message
Delete if message is not one of the above.
The above DeleteCodes can be added together to expand the messages deleted. For example, passing
DeleteCode = 3 is equivalent to specifying DeleteCode = 1 and DeleteCode = 2. Hence, DeleteCode = 3
will delete failure (bounced) email and recipient replies but keep all other messages.
If no messages are to be deleted, use DeleteCode = 0
See the GetReply example program.
16