Ok thanks, I choose this one
On 15 avr, 18:23, "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 wrote:
>
>
>
> > Can't you just c
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 wrote:
> Can't you just concatenate them like so?
>
> message = "Last Name: " + last_name + " Message: " + message
>
> Or if
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 subscri
Hi everybody !
is it possible to concat a message with send_mail ?
I mean :
I have my ContactFrom with some forms like last_name and myMessage.
To send the message, I have to use send_mail(subject, message, sender,
recipients).
And I would like to include last_name and myMessage on message
4 matches
Mail list logo