Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
smtpd
: Add an SMTP daemon¶
The lino.modlib.smtpd
plugin adds functionality for receiving emails.
Side note: Code snippets (lines starting with >>>
) in this document get
tested as part of our development workflow. The following
initialization snippet tells you which demo project is being used in
this document.
>>> 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