Is it possible to change the e-mail header before it is processed by MS Exchange 365?

487 views Asked by At

We currently have the following problem with a customer: The customer uses Microsoft Exchange 365 and has a collective mailbox there where all e-mails end up. Instead of having their own mailbox, each user only has a mail alias and the e-mails are redirected to the collective mailbox. With TO and CC this works and there are no problems. At BCC, however, this construct reaches its limits. Exchange removes the "for" part in the "received" header. This means that emails can no longer be assigned to the original recipient. enter image description here

We pick up the emails from the Exchange via the Graph API in order to integrate them into the workflow of our own software.

Is there a way, e.g. using an Exchange plugin, to read the header and write the e-mail address from the "for" part in an x-property before the e-mail is processed by Exchange?

0

There are 0 answers