I'm have already tried to rewrite the headers_for, but it's still not working. Here goes my code: app/mailers/devise_notifier.rb:
class DeviseNotifier < Devise::Mailer
def headers_for(action, opts)
super.merge!({bcc: 'my@mail.com'})
end
end
app/config/initializers/devise.rb:
Devise.setup do |config|
config.mailer = "DeviseNotifier"
...
end