No description
| mailer | ||
| .bumpversion.cfg | ||
| CHANGELOG | ||
| MANIFEST.in | ||
| README.md | ||
| setup.py | ||
| VERSION | ||
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 !")