Can't get HTML to work in e-mails - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Can't get HTML to work in e-mails (/showthread.php?tid=44251) |
Can't get HTML to work in e-mails - El Forum - 08-09-2011 [eluser]Unknown[/eluser] Hello everyone, this is my first post on these forums, excuse me if i picked the section wrongly. Anyway, here's the case. I've been trying to send an e-mail with some basic HTML content, such as headers, new lines etc. Tried a dozen examples, setting and even though some were literally copied from blog posts proven to be working, I seemed to have no luck whatsoever. Here's my current code: config/email.php Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); from controllers/mailer.php Code: $this->load->library('email', $config); I would assume it's that the library is not using the config provided at all... I want it to use default PHP mail settings, btw. Any help is greatly appreciated! Can't get HTML to work in e-mails - El Forum - 08-09-2011 [eluser]Unknown[/eluser] Oh God, I feel so stupid. The config file was in config/config/email.php hence the error. All solved and working flawlessly, close the thread at will =) |