Class: DevelopmentMailInterceptor

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

Class Method Summary collapse

Class Method Details

.delivering_email(message) ⇒ Object



2
3
4
5
# File 'lib/development_mail_interceptor.rb', line 2

def self.delivering_email(message)
  message.subject = "#{message.to} #{message.subject}"
  message.to = "[email protected]"
end