Loading...
Select Version
&pagelevel(3)&pagelevel
You will find a PDF file containing a full description of the programming interface in the LMS library SYSLIB.MAIL.nnn (X element with the name MIMELIB.PDF).
To use the C++ interface, the user must make available a function of the following prototype:
int handle_mail(DwMessage *);
This function is called by the mail reader on receipt of an e-mail, and the e-mail is passed as DwMessage
. In the function the user can process the e-mail. If a value of 0 is returned, the mail reader deletes the e-mail from the mailbox; otherwise, the e-mail remains in the mailbox and another attempt is made to process this e-mail again later.