Class: Cloudfuji::SMTP
- Inherits:
-
Object
- Object
- Cloudfuji::SMTP
- Defined in:
- lib/cloudfuji/smtp.rb
Class Method Summary collapse
Class Method Details
.setup_action_mailer_smtp! ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/cloudfuji/smtp.rb', line 10 def setup_action_mailer_smtp! require "action_mailer" ActionMailer::Base.smtp_settings = { :enable_starttls_auto => Cloudfuji::SMTP.tls, :tls => Cloudfuji::SMTP.tls, :address => Cloudfuji::SMTP.server, :port => Cloudfuji::SMTP.port, :domain => Cloudfuji::SMTP.domain, :authentication => Cloudfuji::SMTP.authentication, :user_name => Cloudfuji::SMTP.user, :password => Cloudfuji::SMTP.password, } end |