Class: Sendmail

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
app/models/sendmail.rb

Instance Method Summary collapse

Instance Method Details

#form(params, meta, template) ⇒ Object



3
4
5
6
7
8
9
10
# File 'app/models/sendmail.rb', line 3

def form(params, meta, template)
  subject meta[:subject]
  from  set_from(params, meta)
  recipients meta[:recipients]
  body  :data => params
  content_type "text/html"
  template template
end