Issue #378 has been updated by Clément OUDOT.

Status changed from New to Assigned
Assigned to set to Clément OUDOT

Thanks for the report. I wonder why the orginal code don't work:
<pre>
$subject = mb_encode_mimeheader(utf8_decode($subject), "UTF-8", "Q");
</pre>

Any idea?

And yes, we can check the mb-string support. What code should we use if we do 
not have this extension?
----------------------------------------
Bug #378: Wrong mb_encode_mimeheader in send_mail function - SSP
http://tools.lsc-project.org/issues/378

Author: Krzysztof Stryjek
Status: Assigned
Priority: Normal
Assigned to: Clément OUDOT
Category: Self Service Password
Target version: self-service-password-0.7


Hello,

I've just tested Self Service Password and during sending email I've received 
'?' characters in email subject. I've found some suggestions at php.net. So 
this should be:
lib/functions.inc.php: lines 365-370:

    /* Encode the subject */
    mb_internal_encoding("UTF-8");
    $subject = mb_encode_mimeheader($subject);

I hope this will be helpful for other users.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________
ltb-dev mailing list
[email protected]
http://lists.ltb-project.org/listinfo/ltb-dev

Reply via email to