Class: Bushido::SMTP

Inherits:
Object
  • Object
show all
Defined in:
lib/bushido/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
# File 'lib/bushido/smtp.rb', line 10

def setup_action_mailer_smtp!
  ActionMailer::Base.smtp_settings = {
    :enable_starttls_auto => Bushido::SMTP.tls,
    :tls =>                  Bushido::SMTP.tls,
    :address =>              Bushido::SMTP.server,
    :port =>                 Bushido::SMTP.port,
    :domain =>               Bushido::SMTP.domain,
    :authentication =>       Bushido::SMTP.authentication,
    :user_name =>            Bushido::SMTP.user,
    :password =>             Bushido::SMTP.password,
  }
end