Topic: Send email when submit a form wihout DB
I try to setup a send email when we submit a form.
The form don't have table. its only a popup window with email and a textarea for the mail content.
i tried this http://www.railsmine.net/2010/03/rails- ample.html
but it's not exacly what i'm looking for because i'm in a model (action => show) with a jquery dialog.
what i'm looking is to create a mail with attached file from the current models and some informations.
for now i have do :
rails g mailer notifier rails g resource sendmail
i have created my form (not for form for now beccause i don't want db for my sendmail.
Any idea how can i do that?