class ActionMailer::Base
Public Instance Methods
create_mail_with_ses_proxy_header()
click to toggle source
# File lib/ses-proxy-rails.rb, line 50 def create_mail_with_ses_proxy_header mail = create_mail_without_ses_proxy_header mail['X-Sender-System'] = SesProxyRails::Config.get_application_name if SesProxyRails::Config.replace_recipient and Rails.env.development? mail.to = SesProxyRails::Config.get_replacement_address end mail end