Take look at: http://railscasts.com/episodes/129-custom-daemon
or http://seattlerb.rubyforge.org/ar_mailer/classes/ActionMailer/ARMailer.html
On Oct 25, 9:38 am, Tam Kbe
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:> 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/asynchronous-email-delivery)
> 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
> --
> 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@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---