For the Python Conference software we came up with out own wrappers
and a monkey patch to the django email sub system.
The code is here:
https://svn.python.org/conference/django/trunk/pycon/core/mail.py
This allows you to optionally specify DEFAULT_EMAIL_CHARSET and
DEFAULT_EMAIL_SUBJECT_CHARSET in your settings.py file.
just use this instead of django.core.mail
Most junk mail filters will automatically through out e-mails with
utf8 in the subject, but will allow for utf8 in the body. We needed
this granularity as we wanted to support presenter names with utf8
characters.
Hope this helps.
-Doug
On Apr 19, 5:58 pm, Condredge <[EMAIL PROTECTED]> wrote:
> Great! Thanks - I look forward to what you guys do with this!
>
> On Apr 18, 6:09 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
> wrote:
>
> > On 4/19/07, Condredge <[EMAIL PROTECTED]> wrote:
>
> > > I wonder if anyone else has discovered this problem. I have an
> > > application which sends email. Most of the recipients get the email
> > > fine, however some of them receive a message which looks all garbled.
> > > The reason is that the message is encoded in utf_8. When I changed
> > > the DEFAULT_CHARSET to US_ASCII it solved the problem. However, I'd
> > > rather use utf_8 for the default_charset and just set it to ascii for
> > > sending email. Is there a way to do this or do I have to use python's
> > > email modules directly?
>
> > Hi Condredge,
>
> > This is a known issue/feature request, logged as #2007 (with a related
> > issue as #3472). Work on the send_mail interface has been a recent
> > topic of discussion; we are aware of the problem, and hope to address
> > it soon.
>
> > Yours,
> > Russ Magee %-)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---