Skip to content

Reroute ActionMailer emails to an configured email address instead of the specified recipients. Great for development.

License

Notifications You must be signed in to change notification settings

joenoon/delivery_reroute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Delivery Reroute
================

Contact: Joe Noon - joenoon[at]gmail.com

All emails will be sent to the address you specify instead of to the defined recipients.

Example config/development.rb configuration:

config.after_initialize do
  ActionMailer::Base.delivery_method = :reroute                # sets that you want to reroute all emails
  ActionMailer::Base.delivery_reroute_method = :smtp           # sets that you want to use your underlying smtp settings
  ActionMailer::Base.delivery_reroute_to = 'joe@example.com'   # sets the address that receives all emails
end

About

Reroute ActionMailer emails to an configured email address instead of the specified recipients. Great for development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages