Sha256: 69c2170d6482a03fd59087881149042b9eeaad6ee76f3f202c0bfa740d1db711
Contents?: true
Size: 581 Bytes
Versions: 15
Compression:
Stored size: 581 Bytes
Contents
class FormMailer < ActionMailer::Base default :from => "from@example.com" def form_response(form, response) @form = form @response = response mail(:to => form.email, :reply_to => response.email, :subject => "[#{Noodall::UI.app_name}] Response to the #{form.title} form.") end def form_response_thankyou(form, response) @form = form @response = response mail(:to => response.email, :reply_to => form.email, :subject => "[#{Noodall::UI.app_name}] Thank you for getting in contact.") end end
Version data entries
15 entries across 15 versions & 1 rubygems