If you can, please log in before submitting your issue.
#37 — confirmation mail encoding pb
by Régis Rouet — last modified Sep 19, 2011 05:28 PM
|Submitted by||Régis Rouet|
|Submitted on||Sep 08, 2011|
I get "??" for non acsii char in the subscription confirmation mail.
Added by Régis Rouet on Sep 08, 2011 05:29 PMsorry, it's fine
my test was bad
Added by Régis Rouet on Sep 08, 2011 05:39 PMnew update
I fact, there may be an encoding detection pb.
Testing with yopmail, "english" is auto-detected.
If I manually switch to utf-8 in yopmail, the mail display is fine then.
The mail contains the headers :
Content-Type: text/plain; charset="us-ascii"
Added by Régis Rouet on Sep 19, 2011 05:28 PMHere, I fixed this fix in registration.py
msg = MIMEText(msg_text)
props = getToolByName(self, "portal_properties").site_properties
charset = props.getProperty("default_charset")
msg = MIMEText(msg_text, _charset=charset)
No responses can be added.
If you can, please log in before submitting a reaction.