Allows you to configure multiple smtp accounts to send emails. Comes in handy with GAFYD's limit of 500 recipients.
License
r38y/actionmailer-balancer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ActionMailer Balancer ==================== ActionMailer Balancer allows you configure multiple SMTP user accounts to send email from. This comes in handy with Google Apps which limits you to 500 recipients/day. Example ======= in environment.rb: config.action_mailer.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :domain => "test.com", :authentication => :plain, :user_name => "no-reply1@test.com", :password => "password" } It is probably a good idea to have a default user_name and password. To configure the list of accounts you want to send mail from, add something like the following to an initializer: ActionMailer::Base.smtp_users = [ { :user_name => "no-reply1@test.com", :password => "password" }, { :user_name => "no-reply2@test.com", :password => "password" } ] You can add as many sets of credentials as you want and it will pick one at random every time an email is created/delivered. ENJOY! Copyright (c) 2008 Randy Schmidt, released under the MIT license
About
Allows you to configure multiple smtp accounts to send emails. Comes in handy with GAFYD's limit of 500 recipients.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published