I have an issue with transactional emails with special characters (é, è, à, etc.)
For the "Official Emails" such as "order_new.html" which are sent by magento core, everything works fine and all the special characters are well displayed in the mailbox.
But for custom transactional emails I define in Backend and send using custom modules special characters are not displayed correctly
Ã©tÃ© vÃ©rifiÃ©s avec succÃ¨s
I tried defining utf-8 encoding both in email template and in the module code with
setHeader(), but I have the same result.
Here is my code :
$mail = Mage::getModel('core/email') ->setToName($ToName) ->setToEmail($ToEmail) ->setHeader('Content-type', 'text/xml; charset=UTF-8') ->setBody($processedTemplate) ->setSubject('tototototo') ->setFromEmail($senderEmail) ->setFromName($senderName) ->setType('html');