actionmailer

    multiple_mailers - send emails by different smtp accounts

    21 Mar 2012

    I use gmail to send email notifications on my website, it's really easy to build based on actionmailer

    ActionMailer::Base.smtp_settings = {
      :address => 'smtp.gmail.com',
      :port => 587,
      :domain => 'railsbp.com',
      :authentication => :plain,
      :user_name => 'notification@railsbp.com',
      :password => 'password'
    }

    But I found it does not allow to setup 2 different smtp accounts, e.g. I wa...

    Read More

    Tags