mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Adding file-based transports including Maildir, Mbox, Babyl, MH, and MMDF.
This commit is contained in:
parent
6a0305f944
commit
aa0b79b36f
13 changed files with 174 additions and 77 deletions
33
readme.rst
33
readme.rst
|
|
@ -7,8 +7,27 @@ This small Django application will allow you to specify IMAP or POP3 mailboxes t
|
|||
|
||||
WARNING! This app will delete any messages it can find in the inbox you specify-- please make sure you don't have anything important in there.
|
||||
|
||||
URI Examples
|
||||
============
|
||||
Setting up your mailbox
|
||||
=======================
|
||||
|
||||
Django Mailbox supports both common internet mailboxes like POP3 and IMAP as well as local file-based mailboxes.
|
||||
|
||||
.. table:: Protocol Options
|
||||
|
||||
============ ============== =========================================
|
||||
Mailbox Type 'Protocol' Notes
|
||||
============ ============== =========================================
|
||||
POP3 ``pop3://`` Can also specify SSL with ``pop3+ssl://``
|
||||
IMAP ``imap://`` Can also specify SSL with ``imap+ssl://``
|
||||
Maildir ``maildir://``
|
||||
Mbox ``mbox://``
|
||||
Babyl ``babyl://``
|
||||
MH ``mh://``
|
||||
MMDF ``mmdf://``
|
||||
============ ============== =========================================
|
||||
|
||||
POP3 and IMAP Mailboxes
|
||||
-----------------------
|
||||
|
||||
Mailbox URIs are in the normal URI format::
|
||||
|
||||
|
|
@ -23,6 +42,16 @@ If you have an account named 'contemporanea@gmail.com' with a password of '1234'
|
|||
|
||||
pop3+ssl://contemporanea%40gmail.com:1234@pop.gmail.com
|
||||
|
||||
Local File-based Mailboxes
|
||||
--------------------------
|
||||
|
||||
If you happen to want to consume a file-based mailbox like an Maildir, Mbox, Babyl, MH, or MMDF mailbox, you can use this too by entering the appropriate 'protocol' in the URI. If you had a maildir, for example, at @/var/mail/@, you would enter a URI like::
|
||||
|
||||
maildir:///var/mail
|
||||
|
||||
.. important::
|
||||
Note that there are three slashes in the above URI.
|
||||
|
||||
Subscribing to the incoming mail signal
|
||||
=======================================
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue