SSL support for SMTP notifications #80

Open
wants to merge 5 commits into
from

Projects

None yet

2 participants

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.

Owner
mojombo commented Jan 21, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment