Re: forming email body

2009-04-02 Thread Oli Warner
Yeah I've used the template engine for this before and it has worked well. No complaints and it's relatively simple: from django.core.mail import send_mail from django.template import loader, Context t = loader.get_template('my/template.txt') send_

Re: forming email body

2009-04-02 Thread Daniel Roseman
On Apr 2, 2:58 am, Joey Gartin wrote: > Newbie question: > > In a view I am sending out a few emails to users.  The email format is > identical for each user, with the users information being dynamic. > > My question is regarding forming a long email and using it as the body over > and over (in a

forming email body

2009-04-01 Thread Joey Gartin
Newbie question: In a view I am sending out a few emails to users. The email format is identical for each user, with the users information being dynamic. My question is regarding forming a long email and using it as the body over and over (in a loop for each user). What is the best way to do th