Skip to content
enkore edited this page Apr 17, 2014 · 1 revision

This page outlines the use of the mail module

Simple IMAP configuration

from i3pystatus.mail import imap

status.register("mail",
    backends=[
        imap.IMAP(
             # port and ssl are the defaults
             host="imap.googlemail.com", port=993, ssl=True,
             username="<mygoogleaccount>", password="<my password>"
            )
    ])
Clone this wiki locally