class Mailer < ActionMailer::Base

  def contact(contact, sent_at = Time.now)
    @subject          = 'Potts Auction website'
    @body['contact']  = contact
    @recipients       = 'jgilstrap@electrowebmedia.com'
    @from             = "\"#{contact[:name]}\" <{contact[:email]}"
    @sent_on          = sent_at
    @headers          = {}
  end

end