Forum: Ruby on Rails multithreading in rails

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.
0249df9ed664976466923428f33bcb60?d=identicon&s=25 tom (Guest)
on 2007-01-18 01:25
Hi,

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

thanks
tom
48e2163d4f60e9ca4ed033e755c8ddbd?d=identicon&s=25 Atha (Guest)
on 2007-01-18 02:39
(Received via mailing list)
Take a look at Backgroundrb (http://backgroundrb.rubyforge.org/) as a
way to schedule a task (e.g. the sending of the mail itself) or the
asynchronous plugin
(http://code.inklingmarkets.com/asynchronous-rails-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.

Cheers,
Atha
This topic is locked and can not be replied to.