Multithreading in rails



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



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.