source:
de.wigbels.ruby/contact/app/models/contactmailer.rb@
e9f5e39
Last change on this file since e9f5e39 was 7b7d827, checked in by , 11 years ago | |
---|---|
|
|
File size: 264 bytes |
Line | |
---|---|
1 | class 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 |
11 | end |
Note:
See TracBrowser
for help on using the repository browser.