I have a job watching a mailbox for the purpose of archiving any attached documents.
Everything works just fine, as we receive only one email during the poll interval. If two ore more mails are received during the poll interval, the tasks for the job are only executed for the mail with the lowest MessageId. All emails are saved to the folder specified on the Actions pane of the trigger, just as expected. But the tasks for the job are only triggered once.
I am using variables like {TRIGGER(Active|LastTrigger|Mail.Result.Mail.MessageId)} and {TRIGGER(Active|LastTrigger|Mail.Result.Mail.MailFolder)} in the tasks, which I believe to be correct.
Do I need to use the loop feature (I cannot figure out which variable to use for the loop control), or have I simply misunderstood the purpose of email triggers.
Best regards
Ernst Mikkelsen
Trifork A/S