class CustomerMailer < ActionMailer::Base

  def welcome_message(cust_name, cust_email)
    @subject    = "Welcome to Our Site"
    @body       = "Welcome #{cust_name},\n\n"
                  + "Thank you for registering!\n\n"
                  + "Use your email address (#{cust_email}) and password to log in."
    @recipients = cust_email
    @from       = "webmaster@yourwebsite.com"
    @sent_on    = Time.now
  end
end