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 at 4:49 PM, Enrico Sartorello < enrico.sartore...@gmail.com> wrote: > 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 <malcolm....@gmail.com>wrote: > >> 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 <enrico.sartore...@gmail.com> wrote: >> > 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 off or the >> > containing string is marked with 'safe' filter. >> > >> > What's wrong with that? >> > >> > Please help me because I've lost a lot of time trying to solve this >> issue! >> > >> > Thanks in advance :-) >> > >> > -- >> > Enrico Sartorello >> > >> >> -- >> Sent from my mobile device >> >> -- >> 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<django-users%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> >> >> >> > > > -- > Enrico Sartorello > -- Enrico Sartorello -- 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.