Re: django app for managing sending email to users...

2007-08-11 Thread James Tauber
On 10/08/2007, at 11:41 PM, Andrew wrote: > I'm so happy that you've taken the initiaive with this. I'm happy to > help code -- just let me know how. Would be great to have you on board. To help, I suggest you a) subscribe to the django-mailer list

Re: django app for managing sending email to users...

2007-08-11 Thread Andrew
James - I'm so happy that you've taken the initiaive with this. I'm happy to help code -- just let me know how. One thing to think about: how does the communication between the email- app and the main app work? On Fluther right now we're running our django mailer on a different thread because

Re: django app for managing sending email to users...

2007-08-08 Thread Kai Kuehne
Hi, On 8/8/07, James Tauber <[EMAIL PROTECTED]> wrote: > My point is that you just need an iterable. Both lists and QuerySets > meet this requirement. > > There is no casting in Python. You don't need to "cast" a QuerySet to > a list. Sorry.. I mixed my thoughts a bit. I shouldn't post to the

Re: django app for managing sending email to users...

2007-08-08 Thread James Tauber
My point is that you just need an iterable. Both lists and QuerySets meet this requirement. There is no casting in Python. You don't need to "cast" a QuerySet to a list. James On 08/08/2007, at 12:05 PM, Kai Kuehne wrote: > > Sure, that's not the point. The point is that the user has to

Re: django app for managing sending email to users...

2007-08-08 Thread Kai Kuehne
Sure, that's not the point. The point is that the user has to give the function a QuerySet. Imho, it should be a QureySet *or* a list.. was just an idea. You're the boss. :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: {SPAM 01.3} Re: django app for managing sending email to users...

2007-08-08 Thread James Tauber
On 07/08/2007, at 11:42 AM, Ramdas S wrote: > > I am not very sure whether the bulk-mail support personalization. > > I think that should be an important feature. Yes, it will support templates with the user passed in the context. James --~--~-~--~~~---~--~~

Re: django app for managing sending email to users...

2007-08-08 Thread James Tauber
On 07/08/2007, at 10:16 AM, Kai Kuehne wrote: > Just a question: > Why not add this bulk-email-support in the first place? E.g., the > function would > take a list of contrib.auth.models.User objects and iterate over > it. You could > check whether it's a QuerySet and cast it to list if

Re: django app for managing sending email to users...

2007-08-08 Thread James Tauber
I've checked in a first pass at the lowest layer of the architecture: the queue and send loop, don't send list and log. http://code.google.com/p/django-mailer/ It doesn't actually send email at the moment, just tells you it's done so, but it's enough to show how the bottom layer works.

Re: django app for managing sending email to users...

2007-08-07 Thread Kai Kuehne
Hi, On 8/7/07, Ramdas S <[EMAIL PROTECTED]> wrote: > > I am not very sure whether the bulk-mail support personalization. > > I think that should be an important feature. > > More importantly, is there any way to scale it up to handle large > volumes of mails a day without falling into the spam

Re: django app for managing sending email to users...

2007-08-07 Thread Jökull
I have an implementation of a mass mailing functionality. Basically a "campaign" is constructed in the admin interface. There is a preview field and if filled it short-circuits the save functionality. If the preview is left blank users and a campaign id are put into a "dispatch" table where each

Re: django app for managing sending email to users...

2007-08-07 Thread Ramdas S
I am not very sure whether the bulk-mail support personalization. I think that should be an important feature. More importantly, is there any way to scale it up to handle large volumes of mails a day without falling into the spam black list trap RS On Aug 7, 7:16 pm, "Kai Kuehne" <[EMAIL

Re: django app for managing sending email to users...

2007-08-07 Thread Kai Kuehne
Hi James, On 8/7/07, James Tauber <[EMAIL PROTECTED]> wrote: > > Also posted to > > http://code.google.com/p/django-mailer/wiki/InitialDesignThoughts > From the site: > So after a first pass of the lowest layer (described above) is done, I plan > to add this kind of bulk email support per the

Re: django app for managing sending email to users...

2007-08-07 Thread James Tauber
Also posted to http://code.google.com/p/django-mailer/wiki/InitialDesignThoughts I'll check in some initial models in the next day or so. James On 07/08/2007, at 9:04 AM, James Tauber wrote: > Here are some more thoughts below which I'll add to the project wiki > soon: [snip]

Re: django app for managing sending email to users...

2007-08-07 Thread James Tauber
On 06/08/2007, at 9:40 AM, Fabien Schwob wrote: > How is it possible to help ? I'm about to write somethink like > django-mailer for a website I maintain, so I think it's better to > contribute to django-mailer. > > Does you already have an idea of the architecture of this future app ? First of

Re: django app for managing sending email to users...

2007-08-06 Thread Fabien Schwob
Hello, > I've set up django-mailer at Google Code: > > http://code.google.com/p/django-mailer/ > > and written down a bunch of notes on the home page about use cases > and functional requirements. > > If no one objects, we can continue discussion on this list, although > I'm happy to start up

Re: django app for managing sending email to users...

2007-08-05 Thread James Tauber
I've set up django-mailer at Google Code: http://code.google.com/p/django-mailer/ and written down a bunch of notes on the home page about use cases and functional requirements. If no one objects, we can continue discussion on this list, although I'm happy to start up django-mailer list

Re: django app for managing sending email to users...

2007-08-04 Thread David Reynolds
On 3 Aug 2007, at 3:55 pm, James Tauber wrote: A number of sites I'm working on will optionally notify users of certain events via email. Think of the email you get from a social networking site when someone wants to add you as a friend. Or forum software that emails subscribers to a thread

Re: django app for managing sending email to users...

2007-08-03 Thread James Tauber
Great, I'll start something at Google Code Project Hosting and whatever you (or anyone else) can help with will be most welcome. django-mailer will probably be the project name. James On 03/08/2007, at 5:12 PM, Jacob Kaplan-Moss wrote: > > On 8/3/07, James Tauber <[EMAIL PROTECTED]> wrote:

Re: django app for managing sending email to users...

2007-08-03 Thread James Tauber
On 03/08/2007, at 5:55 PM, Bram - Smartelectronix wrote: > I'm exactly in the same situation, with the same needs for > splicemusic.com. Right now I have a big loop which goes over all > users, > and for each user checks if there are any new events that happened. > > This scales really badly,

Re: django app for managing sending email to users...

2007-08-03 Thread Bram - Smartelectronix
Jacob Kaplan-Moss wrote: > On 8/3/07, James Tauber <[EMAIL PROTECTED]> wrote: >> I was thinking of developing a django app for this with support for >> queuing and throttling of sends, scheduled sends, and logging of mail >> failures. I'm NOT interested at all in using it for unsolicited email >>

Re: django app for managing sending email to users...

2007-08-03 Thread Jacob Kaplan-Moss
On 8/3/07, James Tauber <[EMAIL PROTECTED]> wrote: > I was thinking of developing a django app for this with support for > queuing and throttling of sends, scheduled sends, and logging of mail > failures. I'm NOT interested at all in using it for unsolicited email > (although unfortunately

django app for managing sending email to users...

2007-08-03 Thread James Tauber
A number of sites I'm working on will optionally notify users of certain events via email. Think of the email you get from a social networking site when someone wants to add you as a friend. Or forum software that emails subscribers to a thread when there's been a new post. I also have