source:
de.wigbels.ruby/contact/app/models/contactmailer.rb@
0f6d75f
Last change on this file since 0f6d75f was 7b7d827, checked in by , 11 years ago | |
---|---|
|
|
File size: 264 bytes |
Rev | Line | |
---|---|---|
[7b7d827] | 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.