Overview
Need to poll emails from your Exchange server? This smart service can be used in a poller process and extract the data from the Microsoft Exchange server. Messages are stored in the Appian Document System, as well as the attachments. Meta data is stored in a database table for further processing.
This plug-in provides an alternative to sending emails to an Appian process model when inbound email integration is requested. Instead of the email being forwarded to Appian, this plug-in reads the emails directly from the Exchange mailbox using the MS Graph API as described below:
Key Features & Functionality
All information how to deploy, configure and use the smart service is in the 'MS Graph Mail Poller.pdf' document in the downloaded zip. Extract the files in the ZIP and follow the instructions in the document.
Hi Raymond, first of all thanks for the answer. My doubt comes because sometimes the component has read more messages than those set in the messageBatchSize (10 in my case) so the 10 messages have entered within the timeLimit and I do not understand why it keeps reading if supposedly 10 is the limit to process. That is to mean, I have had 25 emails in the inbox, a MessageBatchSize with 10 elements and I have processed 15 items. Another example, 21 emails in the inbox, where the Mail Poller has read 11 emails. This makes me think that the MessageBatchSize may imply the maximum number of emails left unprocessed, since it only reads more emails than 10 when I have had more than twice as many messages in the inbox than the MessageBatchSize. In these cases it has processed emails until leaving 10 in the inbox unread as in the previous cases I mention.If you know anything about this, I would appreciate a reply.Thanks!
Hi dnat4,
The messageBatchSize defines how many messages will be loaded from the server at once. Typically, you want this to be the number of messages that you can process within your timeLimit. However, if the timeLimit happens before you have processed the number in the batch, it will stop processing and leave the messages in the inbox for the next run.
If you have messages in the Junk folder, it means some issue happened (e.g. database errors). Check the tomcat-stdOut.log to see the root cause of these errors.
Hi, I have two questions related to this plugin.The first one is, what exactly is the function of the Message Batch Size input node. I thought it was the maximum number of emails it could read but I am seeing that it is not and I would like to know exactly what it implies.
The second is, we have an application running with this plugin and it is redirecting emails to the Junk folder when it should not be, any possible explanation
Hi Karthik,
With O365 access this issue get resolved.
Thanks Bhushan. It helped and error of write to table is resolved.
One more field need to be added on other table APP_MAIL_POLLER_DOC (IS_INLINE, datatype tinyint(1)).
yes, the issue is because there are a lot of fields which are not been added to the table (so add all those fields to the table, one by one
Did you ever figure out the issue here, Lokesh? I think I am having the same problem.
Not much to go on here. Can you provide more detail on the error?
My guess is that you are likely missing a column in the DB table from a plugin upgrade. See earlier threads on the details.
Anything in the application server log? There should be a more detailed error there.