cancel
Showing results for 
Search instead for 
Did you mean: 

Get Mail Function in MAPIEx

Maria_CarinessR
Level 2
The shared mailbox we are working with experiences a great amount of lag time mainly because of the mailbox size. We are using Get Mail action to get the oldest email item and then move it to a sub-folder. But because of the lag time, sometimes it takes a while before the email gets moved. Get Mail shows "successful" but the item still remains in the Inbox. Question is... if we run another Get Mail action, will it still get the same email or will it get the next oldest email since as far as MAPIEx knows, the Get Mail action on the first email item was "successful"? Appreciate your help on this.
2 REPLIES 2

MikeHiggs
Level 5
In Get Mail, the Move to Sub-Folder parameter is the Sub-folder to move email message to once read. If the sub-folder (or folder we are reading emails from) does not exist it will be created. The config variable ""Folder Separator"" will cause MAPIEx to treat this as a full path to a folder from the reading folder. If not set the email will not be moved. I would experiment with not using Configure MAPIEx action (if you are using it) and to also keep the target mailbox optimised from a performance point of view.  

Maria_CarinessR
Level 2
Appreciate the response, Michael. But with regards to the Get Mail functionality, will it read the next oldest email or will it still read the previous email which supposedly should have already been moved out of the Inbox to a sub-folder but was not yet moved because of the lag in Outlook?