I want to poll a list email to start another application at the time the list receives a new item, I already developed an email listener for an exchange mailbox but couldn't do it for the List mailbox, also, I noticed that the list email don't have a password and it's stored in the contacts section of the recipients section in the Exchange Admin Center rather than in the mailboxes.
-
Have you thought about adding List Item Added event receiver and kick start the process from that point?– Amal HashimCommented Jul 5, 2016 at 14:29
-
Or a Workflow which calls a REST endpoint– Danny '365CSI' EngelmanCommented Jul 5, 2016 at 14:33
-
or Microsoft Flow (but I think this only does O365/SharePoint Online... not sure)– Danny '365CSI' EngelmanCommented Jul 5, 2016 at 14:34
-
Thank you for your response, the thing is that I don't want to launch a SharePoint Process but a third party process outside of SharePoint– RedCommented Jul 5, 2016 at 14:47
1 Answer
SharePoint Incoming Email is simply a standard SharePoint List that is assigned an email address. IIS SMTP (typically) receives the email from, for example, Exchange, and via timer job consumes the EML and adds it to the List with that assigned email address.
What you need to monitor is List Item creation which you can do via SharePoint Workflow, Event Receivers, Remote Event Receivers, or any other process that can find new items, for example, you could use the Lists.asmx (SOAP) or REST endpoint (/_api/list).