god icon indicating copy to clipboard operation
god copied to clipboard

SSL support for SMTP notifications

Open gi-lunaweb opened this issue 12 years ago • 1 comments

Hi,

This changeset adds SSL support to God's mail notifications.

It adds two options to God::Contact::Email :

  • enable_starttls_auto
  • openssl_verify_mode

These work the same as in Mail::SMTP, except openssl_verify_mode only accept and OpenSSL::SSL::VERIFY_* constant.

I don't add any test to test/configs/contact as you may prefer to use your own credentials.

gi-lunaweb avatar Jan 16 '12 14:01 gi-lunaweb

It would be great if you could add a test to this that just uses mocks and stubs so you don't have to test real credentials.

mojombo avatar Jan 21 '12 21:01 mojombo