Class: SesProxyHeader
- Inherits:
-
Object
- Object
- SesProxyHeader
- Defined in:
- lib/ses-proxy-rails.rb
Class Method Summary collapse
Class Method Details
.delivering_email(mail) ⇒ Object
62 63 64 65 66 67 |
# File 'lib/ses-proxy-rails.rb', line 62 def self.delivering_email(mail) 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 end |