Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to store a full email message in django

This is kinda hard to google, so I'm asking here... How would you go about storing a whole email as a django model? I'm planning to archive an email message to a database (parts may also end up in files on disk).

Since I'd like to store as much info about it as possible (while still being searchable), I'd be happy if someone already did the hard work. Only just storing body and the most relevant fields would not be enough in my case.

So the question is: Is there a django app that already provides the models to do this?

like image 374
Dave Vogt Avatar asked Nov 28 '25 04:11

Dave Vogt


1 Answers

There's another question covering models for email messages in general (not Django-specific). For Django models, see the Message model in django-mailbox, which looks like the most relevant app listed in the email-related grid on Django Packages.

like image 154
tobych Avatar answered Dec 02 '25 05:12

tobych



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!