Welcome Guest, Not a member yet? Register   Sign In
[Solved] Email Config File Question
#3

(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
Reply


Messages In This Thread
RE: Email Config File Question - by Diederik - 07-24-2015, 09:01 PM
RE: Email Config File Question - by Dracula - 07-25-2015, 02:50 AM
RE: Email Config File Question - by Wouter60 - 07-25-2015, 03:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB