Module: Bizside::Mailer

Defined in:
lib/bizside/mailer.rb

Instance Method Summary collapse

Instance Method Details

#mail(headers = { }) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/bizside/mailer.rb', line 4

def mail(headers={ })
  headers = headers.merge(:delivery_method_options => Bizside.config.smtp_settings)
  m = super
  m.transport_encoding = '8bit'
  m.from ||= Bizside.config.mail.from
  m
end