In order to receive emails in realtime the Adapter supports poll operations. So go back to the configuration in the webadmin, click on "operations" and add a new operation.
The operation will listen on all emails matching your filter criteria and forward it to an RealTime service you have to create. Very important is the poll interval parameter. Here it is specified to 60'000ms, so once a minute we will poll the email server for new messages.
The mail adapter will generate the XML for the email, forwarded it to the Realtime Service and receive any answer back. Really, the structure of the returning message is absolutely free, all we require is the result message so we know the email was fully processed. The DTD used as input message should be the attached. (see below)
dtd.zip (441 bytes)