class CustomerMailer < ActionMailer::Base

  def welcome_message(cust_name, cust_email)
    @subject    = "Witaj na naszej stronie."
    @body       = "Witaj #{cust_name},\n\n"
                  + "Dzikujemy za zarejestrowanie si u nas!\n\n"
                  + "Do logowania uywaj swojego adresu e-amil (#{cust_email}) i hasa."
    @recipients = cust_email
    @from       = "webmaster@twojastrona.pl"
    @sent_on    = Time.now
  end
end
