[Ok] Email / HTML |
[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! |
Welcome Guest, Not a member yet? Register Sign In |