![]() |
[Ok] Email / HTML - 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: [Ok] Email / HTML (/showthread.php?tid=26011) |
[Ok] Email / HTML - El Forum - 01-03-2010 [eluser]Unknown[/eluser] Hi, I use the email library in a script with smtp. It's works well in "plain/text" but it doesn't works when i want to send an HTML one. When i add $config['mailtype'] = 'html' in config/email.php i don't receive any mail. config/email.php code: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); part of controleur/home.php Code: $this->load->library('email'); If you've got any idea ![]() Thank you and happy new year EDIT : in the config/email.php you have to create : Code: $config['charset'] = 'iso-8859-1'; Easy! |