Issue: Mercator email adapator question:
We would like Mercator to read emails from an inbox one at a time rather than read all the emails in the inbox and present them in a large file. Here is a sequence of events that we would like to build into our maps.
Inbox has 10 unread emails.
A timed (scheduled) Mercator email reader map logs into the mail box.
Reads (extracts) the first unread email from the inbox.
Email reader map determines if the email has a attachment or not.
If attachment is present, pass it to separate processing map.(Map1)
If attachment is not present, pass it to another map. (Map2).
Read next unread email from inbox.
Repeat the previous 4 steps again.
In essence what we are trying to accomplish is seperate the handling of emails with attachments and those that don't. If there is a better way than the one mentioned above, I would be interested in knowing about it too.
We would like Mercator to read emails from an inbox one at a time rather than read all the emails in the inbox and present them in a large file. Here is a sequence of events that we would like to build into our maps.
Inbox has 10 unread emails.
A timed (scheduled) Mercator email reader map logs into the mail box.
Reads (extracts) the first unread email from the inbox.
Email reader map determines if the email has a attachment or not.
If attachment is present, pass it to separate processing map.(Map1)
If attachment is not present, pass it to another map. (Map2).
Read next unread email from inbox.
Repeat the previous 4 steps again.
In essence what we are trying to accomplish is seperate the handling of emails with attachments and those that don't. If there is a better way than the one mentioned above, I would be interested in knowing about it too.