Ok, here is my question. Is it possible to send the custom email to a static email address using the devise. Here is my devise.rb:
config.mailer = "MyMailer"
Here is my my_mailer.rb:
class MyMailer < Devise::Mailer
default from: "email@example.com"
def welcome_email
mail(:to => 'myemail@hotmail.com', :subject => "New user!")
end
end
and here is my welcome_email.html.rb in views/my_mailer:
<h1>New user just signed up! </h1>
I need this email to be sent to me at the same time when the devise sends confirmation instructions to the new user.