Sending emails in the background

Hello,

Part of my application sends emails to many users notifying them with new post. For some reason it takes a while to send the emails, I guess because it's locating and sending to the mail server. I would like to send emails asynchronously so user can see the post page without having to wait for all emails to be sent to other users.

what is the best way to do this?

I have been looking at AsyncMailer (http://www.datanoise.com/articles/2006/07/14/asynchronous-email-delivery) but i couldn't get it to work especially that there isn't enough documentation about it.

I'm considering also using something like backgroudrb plugin.

What is you opinion on that?

Thanks,

Tam

Take look at: #129 Custom Daemon - RailsCasts or http://seattlerb.rubyforge.org/ar_mailer/classes/ActionMailer/ARMailer.html