MSGraph Email Poller

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:

  • Reads the mailbox using the MS Graph API
  • Convert the email to an EML file stored as an Appian document; Item attachments (calendar invites, messages) are kept in the eml file, File attachments removed from it and stored separately in the document management system.
  • Store all email file attachments as separate Appian documents
  • Store all email metadata (subject, author, recipients, etc...) into a set of tables in the database

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.

Anonymous
Parents
  • Hello,

    We checked these two errors in tomcat-stdOut.log:


    1. 2023-10-31 15:04:40,983 [Appian Work Item - 367586 - WorkID 611 - execution02 - process 538402870 - model 2914 : UnattendedJavaActivityRequest] ERROR com.appiancs.msgraphmail.MSGraphMessageHandler - Error during email processing
      java.sql.SQLSyntaxErrorException: (conn=250054) SAVEPOINT a390d423-f2be-438d-965f-272736fc07ca does not exist.

    2.  2023-12-05 10:48:52,605 [Appian Work Item - 1342440 - WorkID 505 - execution01 - process 3567403 - model 1283 : UnattendedJavaActivityRequest] ERROR com.appiancs.msgraphmail.MSGraphMessageHandler - Error during email processing
      java.lang.NullPointerException: inputStream

    These errors were detected in QAS and PRD, during the process of polling emails from outlook, using MSGraph Email Poller plugin.

    We need to know what is causing these errors, as emails that fall into these situations are not being integrated into Appian, but rather sent to the "exception" folder in Outlook.

    These errors occurs only with a small subset of emails.

    Regards

     

  • In our case, the inputStream errors was caused by processing corrupted attachments. Try sending the same email but without attachments and see whats happens,

    Regards

Comment Children
No Data