misterdoak / sauron

Drupal monitoring
8 stars 1 forks source link

Add an option in sauron.yml to choose the mail server. #8

Closed Jenselme closed 9 years ago

Jenselme commented 9 years ago

On some configuration, localhost is not the SMTP server to use. This pull request adds an optional mail_server option in the sauron.yml file to change the mail server. sendmail can also be used. The only requirement is that the SMTP server doesn't require any authentication.

misterdoak commented 9 years ago

Ok, I merged this feature. I adapted your code by centralizing the use of mail server in utils.py. Thank's

Jenselme commented 9 years ago

Perfect, thanks