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

Parents
  • Hi David, This is just my interpretation so Appian support maybe able to advise further.
    Appian itself polls a single account and uses the sender to the polled address to map the mail to process uuids.
    In my opinion you should not send mail directly to polled account but if mapped I do not think this should be an issue.
    Within your custom config you should have the settings for the polled account:
    #### 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
    Then use mapping to route incoming mail to process much like you have in your example but you will need to map the senders alias to each of your processing models. like this.
    conf.mailhandler.alias.appiancopy1=processmodeluuid000dd157-19cc-8000-a063-5770db5770db
    conf.mailhandler.alias.appiancopy2=processmodeluuid000dd157-20aa-8000-a063-5770db5780db
    Exchange should be setup to feed mails into the polled account from other folders or mailboxes. The settings for the feeder accounts on exchange should be applied to the folder or mail account under delivery options on forwarding address and check the option to deliver messages to both forwarding address and mailbox.
    This should ensure the mail alias stays as it is which in turn will match up with your alias=uuid mappings.
    Hope this helps.
    Thanks, James
Reply
  • Hi David, This is just my interpretation so Appian support maybe able to advise further.
    Appian itself polls a single account and uses the sender to the polled address to map the mail to process uuids.
    In my opinion you should not send mail directly to polled account but if mapped I do not think this should be an issue.
    Within your custom config you should have the settings for the polled account:
    #### 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
    Then use mapping to route incoming mail to process much like you have in your example but you will need to map the senders alias to each of your processing models. like this.
    conf.mailhandler.alias.appiancopy1=processmodeluuid000dd157-19cc-8000-a063-5770db5770db
    conf.mailhandler.alias.appiancopy2=processmodeluuid000dd157-20aa-8000-a063-5770db5780db
    Exchange should be setup to feed mails into the polled account from other folders or mailboxes. The settings for the feeder accounts on exchange should be applied to the folder or mail account under delivery options on forwarding address and check the option to deliver messages to both forwarding address and mailbox.
    This should ensure the mail alias stays as it is which in turn will match up with your alias=uuid mappings.
    Hope this helps.
    Thanks, James
Children
No Data