0👍
✅
Sounds like you are looking for something like the journaling feature in microsoft exchange-server. It allows you to define a special mailbox that will recieve a copy of all mails. You can find more information about this here, here and here
Once all the messages are in one mailbox you can access it from your application.
1👍
I had done something similar a couple years ago (with Postfix, however, not with MS Exchange).
The best approach IMO is to setup a mailserver to blind-copy each email to your script. In Postfix this called a “custom transport”. This way your clients will be able to send emails using any program, not necessary through a web form. AFAIK, nearly all production email archiving solutions work that way.
- My Django application is not displaying content from the db
- CBV overrides django-filter context
- To create a login URI with Django by passing credential details in JSON
- Filter queryset returned from ManyRelatedManager
- Why is Regex used in Django Routes?
Source:stackexchange.com