Welcome | Get started | Dive into Lino | Contribute | Topics | Reference | More

smtpd : Add an SMTP daemon

The lino.modlib.smtpd plugin adds functionality for receiving emails.

This page is a tested document and the following instructions are used for initialization:

>>> import lino
>>> lino.startup('lino_book.projects.noi1e.settings.demo')
>>> from lino.api.doctest import *
recmail

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