No description
Find a file
2026-01-04 05:53:29 +01:00
mailer Release 0.1.8 2024-05-23 13:06:09 +02:00
.bumpversion.cfg Release 0.1.8 2024-05-23 13:06:09 +02:00
CHANGELOG Release 0.1.8 2024-05-23 13:06:09 +02:00
MANIFEST.in Release 0.1.7 2024-05-06 23:29:54 +02:00
README.md Release 0.1.8 2024-05-23 13:06:09 +02:00
setup.py update setup.py 2026-01-04 05:53:29 +01:00
VERSION Release 0.1.8 2024-05-23 13:06:09 +02:00

Mailer Plugin 0.1.8

Mailer Plugin is needed to configure smtp servers.

Enable PyRmin to send e-mail for other plugins.

How to Configure

In your config.yml file

mailer:
 smtp: server:port
 from: from_addr
 # username: user
 # password: pass

How to use

From another plugins

__requirements__ = [ "mailer" ]

import pyrmin

mailer = pyrmin.Plugins(self.config).get('mailer')
if mailer:
    mailer.sendmail(dest, title, html)
else:
    pyrmin.log.warning("Mailer Plugin not installed !")