Welcome Guest, Not a member yet? Register   Sign In
Use 2 email configuration
#3

(This post was last modified: 11-06-2017, 08:16 AM by serialkiller.)

(10-31-2017, 08:47 AM)dave friend Wrote: The main email config file - APPATH/config/email.php - can only contain one set of options. but you can create other config files and load them explicitly passing those values to email->initialize().

But you will have to retrieve APPATH/config/email.php values and send them to  $this->email->initialize($config); to return to the default setup. No way around that I can see.
I think I'm wrong, I created a file for configuring the second account, load it with $this->config->load(), then call $this->email->initialize($config), but I do not get what I expect, I'm definitely mistaken, can you help me?

Thanks
Reply


Messages In This Thread
Use 2 email configuration - by serialkiller - 10-31-2017, 01:18 AM
RE: Use 2 email configuration - by dave friend - 10-31-2017, 08:47 AM
RE: Use 2 email configuration - by serialkiller - 11-06-2017, 08:14 AM
RE: Use 2 email configuration - by ivantcholakov - 11-06-2017, 11:38 AM
RE: Use 2 email configuration - by serialkiller - 11-07-2017, 08:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB