You can either install from pip:
pip install django-mailbox
or checkout and install the source from the github repository:
git clone https://github.com/coddingtonbear/django-mailbox.git cd django-mailbox python setup.py install
After you have installed the package, add
INSTALLED_APPSsetting in your project’s
From your project folder, run
python manage.py migrate django_mailboxto create the required database tables.
Head to your project’s Django Admin and create a mailbox to consume.
Once you have entered a mailbox to consume, you can easily verify that you have properly configured your mailbox by either:
From the Django Admin, using the ‘Get New Mail’ action from the action dropdown on the Mailbox changelist (http://yourproject.com/admin/django_mailbox/mailbox/).
Or from a shell opened to your project’s directory, using the
getmailmanagement command by running:
python manage.py getmail