Add mail backend configuration example for #303.
This commit is contained in:
parent
b99d74d6f6
commit
e0a3140f99
@ -26,6 +26,19 @@ Module reference
|
|||||||
Mail Backends
|
Mail Backends
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
The generic mail module can be configured to use multiple mail backends. Here is an
|
||||||
|
example configuration for the MaildirMail backend:
|
||||||
|
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
status.register("mail",
|
||||||
|
backends=[maildir.MaildirMail(
|
||||||
|
directory="/home/name/Mail/inbox")
|
||||||
|
],
|
||||||
|
format="P {unread}",
|
||||||
|
log_level=20,
|
||||||
|
hide_if_null=False, )
|
||||||
|
|
||||||
.. autogen:: i3pystatus.mail SettingsBase
|
.. autogen:: i3pystatus.mail SettingsBase
|
||||||
|
|
||||||
.. nothin'
|
.. nothin'
|
||||||
|
Loading…
Reference in New Issue
Block a user