Using after_filter for speed improvement?

YJ wrote:

Whenever a user sends another user a message, my app delivers an email notification to the recipient. Unfortunately, the email delivery process creates a short delay. Any thoughts on how to remove this delay? Would calling the delivery method with a after_filter be the right way to go? Thanks.

Jesse

Hey YJ

I wrote a short article on exactly this issue here:

http://rails.co.za/articles/2006/10/30/sending-emails-in-the-background-with-actionmailer-and-backgroundrb

It does as Philip stated right at the end of his reply...

Cheers, Gustav Paul