Closed (duplicate)
Project:
SMTP Authentication Support
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2009 at 22:28 UTC
Updated:
12 Nov 2009 at 16:00 UTC
There is error while seunding mail with letter subject.
It's not mime encoded that's why there are problems with national characters.
for 6.x module in function drupal_mail_wrapper
Line 480: $mail->Subject = $subject;
must be $mail->Subject = mime_header_encode($subject);
There is a same error for 5.x version of module.
Because wrong subjects sometimes users can not read them.
Comments
Comment #1
okaalto commentedI think this is related to issue http://drupal.org/node/465750
The PHPMailer class should take care of subject encoding, however, that is not happening when the public property $CharSet in PHPMailer class (line 59) is set to "iso-8859-1", as it is defaut. Hacking this to "utf-8" will clear the problem with the unencoded subject.
Comment #2
franzduplicate of #465750: Sends non-English mails with garbled characters (uses iso-8859-1 instead of utf-8)
Please check dev version for error.