Topic: Rails Mailer - How can I send confirmation email to myself as well?
I am currently using the "mailer gem" for sending emails to the users. It works perfectly but I'd love to send
a confirmation email to myself as well (to the administrator who has firstname.lastname@example.org account). I was trying to write something like mailto: "email@example.com" but it wasn't working. I must be missing something.
This is app/mailers/user_mailer.rb file that I've got:
default from: "firstname.lastname@example.org"
@user = user
mail to: user.email, subject: "Sign Up Confirmation"
Last edited by Vierka (2012-07-17 12:24:17)