Forum: Ruby on Rails multithreading in rails

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
tom (Guest)
on 2007-01-18 02:25

I am having a few problems with actionmailer, mainly taking to long to
send emails.

One solution I have come up with is using thread's, pretty new to this
ruby stuff, so if anyone has any suggestions about threads and
actionmailer, please let me know

Atha (Guest)
on 2007-01-18 03:39
(Received via mailing list)
Take a look at Backgroundrb ( as a
way to schedule a task (e.g. the sending of the mail itself) or the
asynchronous plugin

Both rely on a cron job to execute the pending jobs so maybe it is not
what you are looking for if the email has to be sent right away.

This topic is locked and can not be replied to.