1
0
Fork 0
No description
Find a file
Adam Coddington dad65d802c Wrap added \Deleted flag in parentheses. Fixes #23.
Apparently the IMAP specification expects that the +FLAGS argument be
surrounded by parentheses; although some e-mail backends (like Gmail)
will accept the +FLAGS argument without surrounding the \Deleted flag
in parentheses, many (reasonably) follow the specification much more
closely.  This problem was first noted in report #23.

Searching for other examples of mail deletion, I've found several
Stack Overflow articles in which people are attempting the same task,
and each either uses `imap.store` without surrounding '\Deleted' in
parentheses, or uses `imap.uid` *while* surrounding '\Deleted' in
parentheses:

* http://stackoverflow.com/questions/1777264/using-python-imaplib-to-delete-an-email-from-gmail
* http://stackoverflow.com/questions/3180891/imap-deleting-messages
2014-08-22 19:27:36 -07:00
django_mailbox Wrap added \Deleted flag in parentheses. Fixes #23. 2014-08-22 19:27:36 -07:00
docs Moving settings into appendix, too. 2014-08-17 18:32:25 -07:00
.gitignore Moving 'message storage details' page into appendix 2014-08-15 21:02:53 -07:00
.travis.yml Refactoring imports for Python3 support. Fixes #13. 2014-04-24 15:44:45 -07:00
LICENSE Adding license. 2014-02-22 20:01:30 -08:00
MANIFEST Bumping version number. 2013-01-14 03:32:46 -08:00
MANIFEST.in Cleaning up tests; moving test e-mail messages; fixing bugs relating to message encoding rehydration. 2013-07-26 18:07:31 -07:00
readme.rst Minor readme rewording. 2014-06-03 15:09:44 -07:00
setup.py Prevent ImapTransport from raising exception when no messages are available. Fixes #24. Release 3.4.1. 2014-08-14 21:41:08 -07:00

.. image:: https://travis-ci.org/coddingtonbear/django-mailbox.png?branch=master
   :target: https://travis-ci.org/coddingtonbear/django-mailbox

Easily pull messages from POP3, IMAP, or local mailboxes into Django models.

This Django application will allow you to specify mailboxes that you would like consumed for incoming content; 
the e-mail will be stored in the database, and you can process it at will (or, if you're in a hurry, by subscribing to a signal).

- Documentation for django-mailbox is available on
  `ReadTheDocs <http://django-mailbox.readthedocs.org/>`_.
- Please post issues on
  `Github <http://github.com/coddingtonbear/django-mailbox/issues>`_.
- Test status available on
  `Travis-CI <https://travis-ci.org/coddingtonbear/django-mailbox>`_.



.. image:: https://d2weczhvl823v0.cloudfront.net/coddingtonbear/django-mailbox/trend.png
   :alt: Bitdeli badge
   :target: https://bitdeli.com/free