09-10-2012, 02:36 PM
[eluser]redcloud80[/eluser]
Here I can read that there's no need to initialize something
http://ellislab.com/codeigniter/user-gui...email.html
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() function if you save your preferences in a config file.
Here I can read that there's no need to initialize something
http://ellislab.com/codeigniter/user-gui...email.html
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() function if you save your preferences in a config file.