/OctoPrint-EmailNotifier

Receive email notifications when OctoPrint jobs are complete. Currently broken. Please fork and fix!

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

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.