Forum: Ruby on Rails Sending emails in the background

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.
Tam K. (Guest)
on 2008-10-25 11:38
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/async...)
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
Dejan D. (Guest)
on 2008-10-25 22:45
(Received via mailing list)
This topic is locked and can not be replied to.