WhitelistMailProxy ================== A simple wrapper for the Mail gem / ActionMailer. Allow regexp based whitelisting Example ======= Gemfile gem "whitelist_mail_proxy" config/staging.rb config.action_mailer.delivery_method = :whitelist_proxy # this will use the sendmail_settings defined elsewhere, or ActionMailer's default settings config.action_mailer.whitelist_proxy_settings = {: delivery_method =>:sendmail, :regexp => /test@/, } or if you want a specific domain config.action_mailer.whitelist_proxy_settings = { :delivery_method => :sendmail, :domain => "gmail.com", } or if you want multiple domains config.action_mailer.whitelist_proxy_settings = { :delivery_method =>:sendmail, :domain => ["gmail.com", "hotmail.com"], } Copyright (c) 2010-2011 [Matthew Rudy Jacobs], released under the MIT license
Project
whitelist_mail_proxy
A thin proxy for Mail and ActionMailer to enable whitelisting
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development
Dependencies
Runtime
>= 0
Project Readme