Kevin,<div><br></div><div>If you do go down this route then I recommend you use edge BackgrounDRb and packet v 0.1.6 (see <span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><a href="http://gnufied.org/2008/05/21/bleeding-edge-version-of-backgroundrb-for-better-memory-usage/">http://gnufied.org/2008/05/21/bleeding-edge-version-of-backgroundrb-for-better-memory-usage/</a>) because the current version of BackgrounDRb seems to intermittently hang on longer running tasks (at least in the environments we have used it in).</span></div>
<div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px;"><br></span></div><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px;">J.<br></span><br><div class="gmail_quote">
2008/5/22 Kevin Fullerton <<a href="mailto:kevin.fullerton@shotgun-suicide.co.uk">kevin.fullerton@shotgun-suicide.co.uk</a>>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="Wj3C7c">Joel Chippindale wrote:<br>
> I am working on a rails app which needs to be able to send a newsletter<br>
> out to tens of thousands of subscribers. I would ideally like the same<br>
> system to be able to handle taking individual emails (e.g. password<br>
> reminders) out of the request/response loop.<br>
><br>
> Has anyone on the list tackled this problem before? If so what did you<br>
> opt for and how did it work out?<br>
<br>
</div></div>I'm thinking about a similar system at the moment, though looking at<br>
sending mail to hundreds of subscribers, but potentially multiple times<br>
a day - my thought was to build up the template of the message and pass<br>
that along with all the individual contact details to a background DRb<br>
process, so that the main Rails app wasn't blocked by the mailing<br>
process.  Unfortunately I haven't got too far down the road of seeing if<br>
that's a viable, reliable way of doing it (handling SMTP errors,<br>
bounce-backs etc.)<br>
<br>
Kevin<br>
<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</blockquote></div><br></div>