Email headers always use the default encoding
|Reported by:||IanLewis||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When sending an email, the EmailMessage uses either the messages encoding property or if that isn't available it uses the DEFAULT_ENCODING setting. This behavior should apply to email headers as well. Currently even if a EmailMessage object's encoding property is set the DEFAULT_ENCODING is used to encode email headers.
This means that you cannot send emails with headers encoded in any encoding other than the DEFAULT_ENCODING which is required for some mobile devices (particularly Japanese mobiles) and email readers.
Change History (4)
comment:1 Changed 4 years ago by thejaswi_puthraya
- Component changed from Uncategorized to django.core.mail
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset