#19107: Can't send unicode e-mail
-------------------------------------+-------------------------------------
Reporter: carneiro.be@… | Owner: nobody
Type: Bug | Status: closed
Component: Core (Mail) | Version: master
Severity: Normal | Resolution: fixed
Keywords: mail unicode | Triage Stage: Ready for
Has patch: 1 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by benkonrath):
The fix seems to have been removed from the latest version of Django as
I'm getting this problem with Django 1.6.5 on Python 2.6.5.
Code that demonstrates the problem (replace with valid emails):
{{{
from core.models import Setting
from django.core.mail import send_mail
send_mail('hello', u'マウス', '[email protected]',
('[email protected]',))
}}}
System information:
{{{
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
}}}
{{{
$ python --version
Python 2.6.5
}}}
I'll attach the patch I'm using to fix the issue. Should I re-open this
issue? Should I create a pull request for this? Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/19107#comment:11>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/079.13e646597e145ea2d99c3911fdee2913%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.