On 2013-02-20, at 9:32 AM, Balint Erdi <balint.e...@gmail.com> wrote:
> In the languages I come from (e.g Ruby) I'd use a library that handles the > queueing and consumption of tasks. Is this how you'd do it in Clojure or it's > one of these cases where Clojure itself suffices where other languages are > lacking? This is how I've done it. I know this is largely a theoretical question about side-effects and STM in Clojure, but… In the end, there's always the chance that you'll send duplicate emails, all you can do is try to minimize that. There's also the chance that you never actually successfully send the email, if for no other reason than there's no way to ensure the email is received or to know if it was received. Not to mention spam filters. Using specialist email services is something to seriously consider, it'll make your job much easier, all you have to do is make sure the email request is received by the service -- there's a protocol for that. A decent service will do much better than you can do at making sure the email is sent. Cheers, Bob -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.