SMTP config

From FIA Wiki
Jump to: navigation, search

config.action_mailer.default_url_options = { host: 'localhost', port: '3000'}

config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings =

{
   :enable_starttls_auto => true,
   :address        => 'mail server',
   :port           => 25,
   :domain         => 'example.com',
   :authentication => :plain,
   :user_name      => 'username',
   :password       => 'password',
   
 }