app/mailers/forms/mailer.rb in wheelhouse-forms-1.1 vs app/mailers/forms/mailer.rb in wheelhouse-forms-1.2

- old
+ new

@@ -2,10 +2,17 @@ default :template_path => "form" def submission(form, submission) @form, @submission = form, submission - mail(:from => "no-reply@#{form.site.domain}", - :to => form.recipients, + mail(:from => form.email_sender, + :to => form.recipients, :subject => form.subject) + end + + def confirmation(form, submission) + mail(:from => form.email_sender, + :to => submission.email, + :subject => form.confirmation_email_subject, + :body => form.confirmation_email_body) end end