Re: Templating problem: equal symbol "=" escaped to "=3D"

2010-01-22 Thread Malcolm Box
Try it and see! Malcolm On Thu, Jan 21, 2010 at 4:05 PM, Enrico Sartorello < enrico.sartore...@gmail.com> wrote: > Ok maybe I got it. > > I found those "=3D" symbols just looking at the output of the Python SMTP > server that simulates the email process. > > I think that those mime escaped chara

Re: Templating problem: equal symbol "=" escaped to "=3D"

2010-01-21 Thread Enrico Sartorello
Ok maybe I got it. I found those "=3D" symbols just looking at the output of the Python SMTP server that simulates the email process. I think that those mime escaped characters will be correctly converted back to "=" symbols when processed by a mail client. Am I correct? On Thu, Jan 21, 2010 a

Re: Templating problem: equal symbol "=" escaped to "=3D"

2010-01-21 Thread Enrico Sartorello
You're right, it's the mime escaping! In order to send emails I simply use: render_to_string(file) send_mail() How can I send plain text messages with '=' symbols without getting it escaped? On Thu, Jan 21, 2010 at 4:20 PM, Malcolm Box wrote: > Are you sure it's django templates that ar

Re: Templating problem: equal symbol "=" escaped to "=3D"

2010-01-21 Thread Malcolm Box
Are you sure it's django templates that are doing the escaping? =3D is the mime escaping for = - could it be something else in your email processing chain that's escaping the sign? Malcolm On 1/21/10, Enrico Sartorello wrote: > Hi, > i'm using Django template system to render some text files (not

Templating problem: equal symbol "=" escaped to "=3D"

2010-01-21 Thread Enrico Sartorello
Hi, i'm using Django template system to render some text files (not HTML pages) that I use to send emails. I have a problem: in a template file, any occurence of the "=" symbol is escaped to "=3D" no matter what is placed before or after it. '=' is strangely escaped to '=3D' even if autoescape is