Created
September 9, 2009 23:24
-
-
Save hone/184166 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Settings for sanitize_email gem. These can be overridden in individual config/%env%/environment.rb files. | |
require 'sanitize_email' | |
ActionMailer::Base.sanitized_recipients = ["#{`whoami`.chomp}@#{`hostname`}"] | |
ActionMailer::Base.sanitized_bcc = nil | |
ActionMailer::Base.sanitized_cc = nil | |
# These are the environments whose outgoing email BCC, CC and recipients fields will be overridden! | |
# All environments not listed will be treated as normal. | |
ActionMailer::Base.local_environments = %w( development ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment