Class: MailEnvi::DefaultInterceptor

Inherits:
Object
  • Object
show all
Defined in:
lib/mail_envi.rb

Class Method Summary collapse

Class Method Details

.delivering_email(msg) ⇒ Object



27
28
29
30
# File 'lib/mail_envi.rb', line 27

def self.delivering_email(msg)
  msg.to      = MailEnvi.config.default_to
  msg.subject = "(#{MailEnvi.ronment} Interception) #{msg.subject}"
end