We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.

Hi Everyone, looking for some advice on the email listener. We have

Hi Everyone, looking for some advice on the email listener.

We have this working fine as a proof of concept now and looking to implement it in to the business.

One thing we are looking to solve is the ability to have one "parent" mail box that Appian listens to, and every mail account that we wish to "control" becomes a child of that one mail box. The reason this is not working for us at the moment is that despite the initial address it is sent to, we always get the parent mail box as who it was sent to.

This is an issue for us as the sender will map to a process and will ensure that we can build a scalable solution where we can absorb legacy email accounts to create processes without updating our configuration.

So, is there a Microsoft Exchange setting or something on the Appian side that we can tell who the original sender was of the email?

Any other advice is welcome on this.

Thanks, David. ...

OriginalPostID-58416

OriginalPostID-58416

  Discussion posts and replies are publicly visible

  • The email processing in Appian is not fool proof and it does go wrong. We have problems with attachments not being extracted from emails. This typically occurs with plain text mails with no body content. It is a know issue with the mail processor that Appian are already aware of. I am unsure when a full fix for this will be provided.
  • I know I have not really answered you question but just thought a shared experience might be of use. Thanks, James
  • No thats great James, thansk for that. I am using the body of the email and creating an RTF file to represent the email which the users can then do as they please. Havent had any issues with attachments just yet but to help identify potential issues I have created an "email receipt" table that logs how many attachments have been retrieved and then we can spot check against the mailboxes for any missing.

    Thanks for this info though!
  • Hello,

    Can we do all this without changing or updating the property in custom.properties? Receiving Email - see documentation for configuration of ejb-jar.xml
    ## Aliases can be used to route email sent to a particular email address to a
    ## specified process model, process, or event. They are of the form
    ## conf.mailhandler.alias.<recipientName>=<routing> where <recipientName> is an
    ## email account and <routing> is processmodeluuid, processmodelid, process,
    ## or event followed by the corresponding id
    #conf.mailhandler.alias.HelpDeskRequest=processmodeluuid0004cedf-a045-8000-234b-c0a8031014c0

    Also, even if we do this, for the Email Trigger /Listener in the Start Event of the Process Model, what do we map for Conditions? Or do we leave it blank and any email sent to this email address will trigger the Process Model?

    Also, can you explain more about

    #### Email Poller settings ####
    ejb.poller.1.mailServer=servername.domain.co.uk
    ejb.poller.1.userName=anexchangeaccount@company.co.uk
    ejb.poller.1.password=password
    ejb.poller.1.pollingInterval=10000

    I did not understand? Do we need to add these lines to custom.properties file or some other file?



    Also, I am finding it difficult to test or do a Proof Of Concept for triggering a Process Instance via. an Incoming Email.

    1) I have made the parameter --> conf.suite.ANONYMOUS_ACCESS=TRUE.
    2) PUBLIC TRIGGERS are checked in my Process Model Properties.
    3) I have checked the documentation and I am not clear with the documentation.
    4) What should be use TO, FROM, FROMEMAIL, FROMNAME, TOEMAIL, TONAME, RECEPIENTS or what as Conditions?
    5) If I use TO or FROM, should my condition match a text field or an email address field or an email recepient field?
    6) Right now trying to find out different permutations and combinations is really difficult and is not giving me any success.
    7) Any example or help of this is much appreciated.
    8) We are on Appian 6.6.1
    9) Please post some sample Process Model for this.
  • Hi David, before using the conf.mailhandler.alias, did you configure the receiving emails part in the file ejb-jar.xml which is under the folder appian/ear/suite.ear/email-handler/META-INF?