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 email@example.com account). I was trying to write something like mailto: "firstname.lastname@example.org" but it wasn't working. I must be missing something.
This is app/mailers/user_mailer.rb file that I've got:
default from: "email@example.com"
@user = user
mail to: user.email, subject: "Sign Up Confirmation"
Last edited by Vierka (2012-07-17 12:24:17)