source: de.wigbels.ruby/contact/app/models/contactmailer.rb@ 12b1db6

Last change on this file since 12b1db6 was 7b7d827, checked in by njw <njw@…>, 11 years ago

opened projects: hothotwrite and contact

  • Property mode set to 100644
File size: 264 bytes
Line 
1class Contactmailer < ActionMailer::Base
2
3 def send_mail_to_contact(subject, body, to, from, sent_at = Time.now)
4 @subject = subject
5 @body = body
6 @recipients = to
7 @from = from
8 @sent_on = sent_at
9 @headers = {}
10 end
11end
Note: See TracBrowser for help on using the repository browser.