This is the third post in my series about Automatic tracking of all Incoming and Outgoing emails in Dynamics 365 using Exchange Mailflow rules and Server Side Synchronisation.
In my previous post, I showed how we can track all incoming and outgoing emails for all users using 1 single Exchange Rule and for each user, we create 2 Outlook Rules. In this post, I have an even simpler solution with only 1 user and 2 exchange mail flow rules.
But firstly, it is important here to note that the main issue for automtiaclly automatically tracking outgoing emails is that any Outlook Rule for Sent emails is always “Client-only”. That is, the rule will only run if Outlook is open. I have not found a way to have an Outlook Rule that works server side to copy a sent email to a tracked Dynamics 365 folder. Hence, the use of Exchange Online Mail Flow and the direct use of the Exchange transportation layer.
But what if you don’t want to even create the outlook rules as per my two previous posts? The answer is simple: You can literally use 1 single Mail Box and Dynamics 365 user along with 2 Exchange Rules to automatically track all Outgoing and Incoming emails for any email inbox even if this user has not got Dynamics 365 App for outlook configured and even if this mailbox is not a Dynamics 365 user.
The approach is simple: Using 2 x Exchange Mail Flow rules you can Bcc every outgoing and every incoming email to all the mailboxes you want. All these emails are Bcc’ed to a Single Mailbox of a Dynamics 365 User who has App for Outlook configured. This way, all emails are tracked.
So to summarise:
- Setup and Configure Dynamics 365 App for outlook for one User: Let’s call it: “D365 Mail User”
- Create 1 x exchange rule to BCC all outgoing emails to this “Mail user”
- Create 1 x exchange rule to Bcc all incoming emails to the same “Mail user”
and that’s it.
Tried and tested – but please let me know if you got other ideas/thoughts.