Opened 14 years ago

Closed 14 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: no

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 14 years ago.
Patch for the EMAIL_CHARSET setting.
email_charset_with_option.patch (9.4 KB ) - added by Ian Lewis 14 years ago.
A version of the patch which adds an encoding option to send_mail().

Download all attachments as: .zip

Change History (7)

by Ian Lewis, 14 years ago

Attachment: email_charset.patch added

Patch for the EMAIL_CHARSET setting.

comment:1 by Ian Lewis, 14 years ago

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

by Ian Lewis, 14 years ago

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

comment:2 by Daniel F Moisset, 14 years ago

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 by Daniel F Moisset, 14 years ago

Needs documentation: set

Documentation for the setting is also needed.

comment:4 by Graham King, 14 years ago

Severity: Normal
Type: New feature

comment:5 by Graham King, 14 years ago

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