Задать вопрос

Тел: +7 965 3737 888

424

Просмотров

1

Ответов

FixedEmailMessage

Django EmailMessage class has no cc support and has bug in bcc support.

Core developers won't add cc support (see ticket http://code.djangoproject.com/ticket/5790), and I don't want to wait half a year until they will realize they have a flaw that bcc recipients are sent to regular "to:" recipients and fix it.

So, if you want to use EmailMessage class right now, you'd better use FixedEmailMessage class. Class contract is the same, except for a new cc constructor argument.

Вопрос полезен? Да0/Нет0
file_4793.py(1.6Кб)
None

Ответы (1):

Ответburiy:30.04.2008
Ответ полезен? Да0/Нет0

oh, it was just lucky bug. i did my job, you did yours -- and everyone is happy. and actually, only trunk version is fixed.