Ok thanks, I choose this one

On 15 avr, 18:23, "ge...@aquarianhouse.com" <ge...@aquarianhouse.com>
wrote:
> As already mentioned, the best would be to use
> render_to_string('email_template.txt', {'name':'John',
> 'msg':'message'}) and pass it through.
>
> On Apr 15, 6:13 pm, Tim Shaffer <t...@tim-shaffer.com> wrote:
>
>
>
> > Can't you just concatenate them like so?
>
> > message = "Last Name: " + last_name + " Message: " + message
>
> > Or if you want to get really fancy, you could create a template, pass
> > the form as a context, and render the template for the e-mail message.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to