0

I want to save all incoming emails to a django model. django-mailbox has an email table but is inactive. django-anymail's AnymailInboundMessage looks like it would work well but it is not a django model class, just a generic python object for processing incoming emails, not storing them.

I know I could cut and paste the source from AnymailInboundMessage into a django model class and then turn the members into Django fields, but I am wondering if there is a way to wrap or subclass a python class such as AnymailInboundMessage into a django model.

Sunderam Dubey
  • 1
  • 11
  • 20
  • 40

0 Answers0