07-25-2015, 02:50 AM
(07-24-2015, 09:01 PM)Diederik Wrote: Yes it does, The documentation is pretty clear about this....
http://www.codeigniter.com/user_guide/li...onfig-file
Quote:Setting Email Preferences in a Config File
If you prefer not to set preferences using the above method, you can instead put them into a config file. Simply create a new file called the email.php, add the $config array in that file. Then save the file at config/email.php and it will be used automatically. You will NOT need to use the $this->email->initialize() method if you save your preferences in a config file.
You don't load the file with:
PHP Code:
$this->load->library('email')
...because it's not a library it's a config file.
Romanian CodeIgniter Team :: Translations :: Comunity :: Developers
http://www.codeigniter.com.ro
http://www.codeigniter.com.ro