I'm using the Mandrill Transport (https://github.com/khanlou/MandrillTransport-CakePHP) to send mails in my cakephp application.
But when sending mails I get ?? in odd places in my subject line due to special characters.
Subject = 'Découvrez vite toutes les nouveautés sur r7site.com'
Result = 'Découvrez vite toutes les nouveautés sur r7?? site.com'
As you can see the ?? are placed very strangely.
When I'm using the default cakephp mail it works like a charm...
public $default = array(
'transport' => 'Mail',
'from' => '[email protected]',
'charset' => 'utf-8',
'headerCharset' => 'utf-8',
);
I guess it has something to do with the utf-8 charset, but I'm not sure. The content works fine with mandrill and actually the chars are printed fine as well in the subject. Just the ?? should not be there...