berthubert / simplomon

Very simple monitoring system with a single configuration file
MIT License
97 stars 12 forks source link

Add SMTPS and SMTP AUTH support for EmailNotifier, through libcurl #34

Open wandernauta opened 3 months ago

wandernauta commented 3 months ago

This is intended as a compatible replacement of the existing email notifier logic: setting 'server' to '10.0.0.2' will still open a SMTP connection to port 25 on that host, and send the same message as before. However...

Combined, this looks something like:

smtps://myuser:mypassword@smtp.eu-west1.example.com:465

The new implementation (like the existing one) does not set a time-out, but this could be added.