PayPlay.FM development.log

Friday, November 21, 2008

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.

Labels: , ,

0 Comments:

Post a Comment

<< Home