![]() |
Email class - wrong encoding in some webmails - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Email class - wrong encoding in some webmails (/showthread.php?tid=58105) |
Email class - wrong encoding in some webmails - El Forum - 05-15-2013 [eluser]nony[/eluser] Hi there, i am using codeigniter to send emails. but in one webmail agent (centrum.sk) there is bad encoding. All other emails in this webmail agent are good except my from codeigniter Everywhere i setted up UTF-8 charset. this config i am using: Code: $config['mailtype'] = 'html'; i also set http headers to utf-8 Code: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> all script files are utf-8 encoded - checked in notepad++ database connection is utf-8 database collation is utf8_general_ci here is the mail header Code: Delivered-To: xxxx Email class - wrong encoding in some webmails - El Forum - 05-15-2013 [eluser]CroNiX[/eluser] https://github.com/EllisLab/CodeIgniter/issues/1409 Email class - wrong encoding in some webmails - El Forum - 05-15-2013 [eluser]nony[/eluser] My subject is encoded good. Only in mail body there are missing letters. Check attachment. If i change $config['mailtype'] to text, i can see html but encoding of mail body is good. |