#19107: Can't send unicode e-mail
-------------------------------+--------------------------------------
     Reporter:  carneiro.be@…  |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Core (Mail)    |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:  mail unicode   |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by carneiro.be@…):

 Hello claudep,
 thank you for your reply. I believe the encoding error is due to unicode
 in the message, because the character at position 2 in the message is "á",
 which is not ASCII. It seems like the subject is ok, even though it might
 contain unicode characters (person.name might be unicode). Here's the
 output of render_to_string:

 {{{
 Olá My name,

 seja bem-vindo ao sistema de administração jurídica online Odeio. O
 escritório Departamento Jurídico cadastrou-lhe no sistema. Os seus dados
 são:

 Nome: My name
 Usuário / Email: my-em...@gmail.com

 Para validar o seu cadastro e criar uma senha, entre no seguinte link:
 http://odeio.com.br/pessoas/validar/130281cba7106776845efc1ab274776b02ff5206/

 Qualquer dúvida, sugestão ou crítica não hesite em entrar em contato. Seu
 feedback é muito bem-vindo.

 Obrigado,
 Equipe Odeio
 }}}
 Thanks again for your help.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19107#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to