Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge Mail with latest Rails and move mail gem to Gemfile. | José Valim | 2009-12-27 | 1 | -2/+2 |
|\ | |||||
| * | All AM modules are safe to defer | Joshua Peek | 2009-12-22 | 1 | -2/+2 |
| | | |||||
| * | avoid generating invalid SMTP commands in ruby pre 1.9 | Michael Koziarski | 2009-11-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> Conflicts: actionmailer/lib/action_mailer/base.rb | ||||
* | | Starting again on actionmailer integration with mail | Mikel Lindsaar | 2009-11-12 | 1 | -2/+1 |
|/ | |||||
* | Refactor ActionMailer layout and remove legacy one. | José Valim | 2009-11-01 | 1 | -1/+1 |
| | |||||
* | abstract all of the ActionMailer delivery methods into their own classes. ↵ | Matthew Rudy Jacobs | 2009-11-01 | 1 | -0/+31 |
thereby the following are equivalent ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.delivery_method = ActionMailer::DeliveryMethod::Smtp we could equally set our own custom object as long as it provides the instance method :perform_delivery(mail) eg. class MySmsDeliveryMethod def perform_delivery(mail) Sms.send(mail['to'], mail['body']) end end MySmsMailer.delivery_method = MySmsDeliveryMethod.new Signed-off-by: José Valim <jose.valim@gmail.com> |