lib/sanitize_email/config.rb in sanitize_email-1.1.2 vs lib/sanitize_email/config.rb in sanitize_email-1.1.3
- old
+ new
@@ -25,9 +25,11 @@
:good_list => nil,
# a black list
:bad_list => nil,
+ :environment => defined?(Rails) && Rails.env.present? ? ('[' << Rails.env << ']') : '[UNKNOWN ENVIRONMENT]',
+
# Use the 'real' email address as the username for the sanitized email address
# e.g. "real@example.com <sanitized@example.com>"
:use_actual_email_as_sanitized_user_name => false,
# Prepend the 'real' email address onto the Subject line of the message