MatthiasKauer / croncoat

A cron job wrapper with better error email reporting and command timeouts.
8 stars 3 forks source link

Updated mailbackend.py to be able to use STARTTLS #7

Closed KeyMasterOfGozer closed 7 years ago

KeyMasterOfGozer commented 7 years ago

Hi, I'm not sure if you are still paying attention to the project, but the 2 mail servers that I primarily use, Gmail for personal, and Office635 for work both now require STARTTLS to send emails. CronCoat is awesome, but it was not able to send emails for me. I made this small change to mailbackend.py and now it works great for me.

I would love it if you used this change so that in the future, I can just pip install croncoat and have this functionality without having to manually go modify the files, but either way, you've helped me out a lot.

Cheers!