title: Rails - Devise send user email after sign_up/create
body: <p>I'm fairly new to rails and trying to figure things out. I recently got a mailer all setup and it was working fine. But I am trying to add a second mailer for user actions and it doesnt seem to work.</p>
  
  <p>What I am trying to achieve is that a user signs up, it sends an email to the administrator, then the admin must enable the user. Currently when the admin enables the user it will send them an email, but for some reason my newly created user email does not fire. I think this is because my create method does not fire, where should I put it? Do I need to overwrite a user method?</p>
  
  <p>My UserMailer controller:</p>
  
  <pre><code>class UserMailer &lt; ActionMailer::Base
    default from: "website@rnd.designcom.com.au"
    def send_enabled_message(user)
      @user = user
      mail(:to =&gt; user.email, :subject =&gt; "Welcome to Pixel Technologies!!!")
    end
    def send_new_user_message(user)
      @user = user
      mail(:to =&gt; 'ben.suryn@rnd.designcom.com.au', :subject =&gt; "New User created please review and enable.")
    end
  end
  </code></pre>
  
  <p>My users_controller:</p>
  
  <pre><code>class UsersController &lt; ApplicationController
    before_filter :authenticate_user!
    load_and_authorize_resource
  
  # POST /users
  def create
    @user = User.new(user_params)
    puts "******************** NEW USER ****************************"
    puts user_params
    if @user.save
      puts 'Sending email for create user'
      UserMailer.send_new_user_message(@user).deliver
      redirect_to @user, notice: 'User was successfully created.'
    else
      render action: 'new'
    end
  end
  </code></pre>
  
  <p>But this create method never gets fired. What am I donig wrong. Is there another method I need to put UserMailer.send_new_user_message(@user).deliver?</p>