Forum: Ruby on Rails How to implement ActionMailer callbacks for rails3?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6fbdd33f303fb235953d91f7f886d038?d=identicon&s=25 barek (Guest)
on 2011-12-02 14:27
(Received via mailing list)
Hi,
Is it possible to implement callbacks(like
before_deliver :some_methodes, after_deliver :other_methods) with
ActionMailer in Rails3?

Please somebody help me or give me an idea :)
Already I saw
http://railscasts.com/episodes/206-action-mailer-in-rails-3
but it I like to do it as callbacks

--
Best Regards
Abdul Barek
Senior Software Engineer
4e0d3940eb0273c7b3677dd3ed917797?d=identicon&s=25 Evgeniy K. (evgeniy_k)
on 2013-05-15 15:19
I wrote a simple gem for this couple of years ago and branch 2.0
supports rails3.

you can check it out here:
https://github.com/kelyar/mailer_callbacks/tree/2.0

or wait for rails4 they will have it builtin.
This topic is locked and can not be replied to.