Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino.modlib.smtpd.signals

Module Attributes

mail_received

Sent for every incoming mail.

lino.modlib.smtpd.signals.mail_received = <django.dispatch.dispatcher.Signal object>

Sent for every incoming mail.

sender:

the Site instance

peer, mailfrom, rcpttos, data:

are those passed to the standard Python smtpd.SMTPServer.process_message method:

peer is the remote host’s address, mailfrom is the envelope originator, rcpttos are the envelope recipients and data is a string containing the contents of the e-mail (which should be in RFC 2822 format).