Receive email notifications when OctoPrint jobs are complete. Currently broken. Please fork and fix!
Python JavaScript
Switch branches/tags
Nothing to show
Clone or download
anoved Merge pull request #44 from ericli1018/master
update send function and add smtp setting options
Latest commit b928ef7 Nov 13, 2017
Permalink
Failed to load latest commit information.
extras
octoprint_emailnotifier
LICENSE
README.md
babel.cfg
requirements.txt
setup.py

README.md

OctoPrint-EmailNotifier

Recieve email notifications when OctoPrint jobs are complete.

Settings tab and email screenshot

Installation

Install via the OctoPrint Plugin Manager or manually using this archive URL:

https://github.com/anoved/OctoPrint-EmailNotifier/archive/master.zip

Configuration

Your outgoing email account password is not stored with OctoPrint's settings. It is retrieved from your system keyring. Store your password from a Python prompt on your OctoPrint system using yagmail.register:

$ ~/oprint/bin/python
>>> import yagmail
>>> yagmail.register("SMTP username", "SMTP password")

For some accounts, your SMTP username may be your complete username@domain.com address.

To use yagmail (and thus OctoPrint-EmailNotifier) with Gmail, you may need to allow less secure apps to access your account.

Acknowledgements

Loosely based on OctoPrint-Pushbullet.

Uses yagmail to send email.

License

Licensed under the terms of the AGPLv3.