collectiveidea / action_mailer_optional_tls

Enables TLS on SMTP connections (for services like GMail)

This URL has Read+Write access

action_mailer_optional_tls / init.rb
100644 6 lines (4 sloc) 0.134 kb
1
2
3
4
5
6
# Cobbled together from miscellaneous code from Stephen Chu and the ruby-talk list.
#
 
require 'smtp_tls'
require 'action_mailer_tls'