class UserMailer < ApplicationMailer def password_reset user @user = user mail to: user.email, subject: 'Password Reset' end def welcome user, default_password @user = user @password = default_password mail to: user.email, subject: "Skill Assesment Acount" end end