ActionMailerでサーバの設定方法

ActionMailer::Base.smtp_settings = {
  :address => 'smtp server',
  :port => 25,
  :user_name => 'username',
  :password => 'password',
  :authentication => :plain
}
 
comments powered by Disqus