anoved / OctoPrint-EmailNotifier

Receive email notifications when OctoPrint jobs are complete. Currently broken. Please fork and fix!
GNU Affero General Public License v3.0
16 stars 35 forks source link

Add 'Send test email' button #11

Closed cweagans closed 7 years ago

cweagans commented 8 years ago

Contains the changes for the test email button from @djvaporize 's master branch. I did a bit of cleanup, but the commit is still credited to him.

The changes that I made:

Sorry if there are any obvious errors here - I don't usually work on Python stuff, so I'm a bit rusty.

Hope this is helpful!

Fixes #7

djvaporize commented 8 years ago

Thanks @cweagans !! I've been meaning to clean up the code to refactor to a separate mail function but haven't had the time. Hopefully @anoved can approve this soon :).