smtpd : Add an SMTP daemon¶
lino.modlib.smtpd plugin adds functionality for receiving emails.
This is a tested document. The following instructions are used for initialization:
>>> import lino >>> lino.startup('lino_book.projects.noi1e.settings.demo') >>> from lino.api.doctest import *
recmail stands for "receive mail". Starts a configurable SMTP
server which forwards incoming mails to your Lino application. For
every incoming mail it sends a mail_received signal. It is up to
your application to decide what to with these mails.
If you want to run this as a daemon, you must do:
$ pip install python-daemon