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

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.
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