Opened 6 years ago

Closed 6 years ago

#13829 closed New feature (wontfix)

EMAIL_CHARSET setting

Reported by: Ian Lewis Owned by: nobody
Component: Core (Mail) Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: yes
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX:

Description

Add a EMAIL_CHARSET setting that allows you set the default encoding for emails.

Attachments (2)

email_charset.patch (2.8 KB) - added by Ian Lewis 6 years ago.
Patch for the EMAIL_CHARSET setting.
email_charset_with_option.patch (9.4 KB) - added by Ian Lewis 6 years ago.
A version of the patch which adds an encoding option to send_mail().

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by Ian Lewis

Attachment: email_charset.patch added

Patch for the EMAIL_CHARSET setting.

comment:1 Changed 6 years ago by Ian Lewis

The setting defaults to the DEFAULT_CHARSET for ease of use and backwards compatibility.

Changed 6 years ago by Ian Lewis

A version of the patch which adds an encoding option to send_mail().

comment:2 Changed 6 years ago by dmoisset

Patch needs improvement: set
Triage Stage: UnreviewedAccepted

The feature looks valid and the patch looks ok in visual inspection. It's not applying anymore because doctests were converted to unittests. If somebody updates the test cases, this looks like something to check in.

Flagging as "Accepted" until tests are rewritten

comment:3 Changed 6 years ago by dmoisset

Needs documentation: set

Documentation for the setting is also needed.

comment:4 Changed 6 years ago by Graham King

Severity: Normal
Type: New feature

comment:5 Changed 6 years ago by Graham King

Easy pickings: unset
Resolution: wontfix
Status: newclosed

Is an email specific encoding still needed, different from DEFAULT_CHARSET? And is it a common enough case to warrant it's own setting?

I think it's rare enough that we can use EmailMessage (which does support setting the encoding) directly in those cases. Given that there's been no activity in 6 months, and the patch would need updating anyway, I'm going to close. Please re-open as needed.

Note: See TracTickets for help on using tickets.
Back to Top