god
god copied to clipboard
SSL support for SMTP notifications
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.
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.