Mailer Callbacks: hooks for ActionMailer
I've just published tiny library that I wrote on weekend and gonna use on production.
It is an extension to ActionMailer that gives two useful callbacks for your mailer classes: before_deliver and after_deliver. "before_deliver" helps to cancel delivery under certain conditions, "after" filter is usually for saving/logging sent emails.
http://github.com/kelyar/mailer_callbacks
That was the first release but it is stable enough to work.
It is an extension to ActionMailer that gives two useful callbacks for your mailer classes: before_deliver and after_deliver. "before_deliver" helps to cancel delivery under certain conditions, "after" filter is usually for saving/logging sent emails.
http://github.com/kelyar/mailer_callbacks
That was the first release but it is stable enough to work.
Labels: actionmailer, mailer_callbacks, rails
0 Comments:
Post a Comment
<< Home