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
On Jan 17, 9:25 pm, tom
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> 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
>
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---