>> On Fri, Sep 5, 2008 at 11:59 AM, Snaggy <[EMAIL PROTECTED]> wrote:
>>
>>> here's my problem:
>>> I have a table with lots of emails to be sent at specified dates,  
>>> and
>>> I want a process that checks, let's say every hour or so, that table
>>> for mails to be sent, sends them and delete the records...
>>
>>> A very simple background process that call's a method. If there  
>>> was a
>>> way of doing this not in background it'd be ok, I don't care if it
>>> gets stuck every hour for a few seconds..
>>
>>> I know about remoterb, but really.. isn't there an easier way? I  
>>> don't
>>> want to spend too much time on this stuff!
>>

You want ar_mailer...

http://blog.segment7.net/articles/2006/08/15/ar_mailer

"Even deliviring email to the local machine may take too long when you  
have to send hundreds of messages. ar_mailer allows you to store  
messages into the database for later delivery by a separate process,  
ar_sendmail."

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to