class Mailer < ActionMailer::Base

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

end