How to inspect/access config values specified in config/email.php? |
I'm following the directions here which describe how to configure one's email preferences in a configuration file rather than having to call the initialize method of the Email class. I'm wondering how I might access these configuration values in the email.php file from within a controller?
The reason I ask is because I'd like to add some additional configuration values like a default_from address, some kind of server identifier so that I know whether incoming emails are from production vs. dev, etc. Can someone tell me how to access email-related configuration values inside a controller? |
Messages In This Thread |
How to inspect/access config values specified in config/email.php? - by sneakyimp - 03-31-2015, 03:34 PM
RE: How to inspect/access config values specified in config/email.php? - by CroNiX - 03-31-2015, 03:54 PM
RE: How to inspect/access config values specified in config/email.php? - by RobertSF - 03-31-2015, 03:59 PM
RE: How to inspect/access config values specified in config/email.php? - by sneakyimp - 03-31-2015, 04:41 PM
RE: How to inspect/access config values specified in config/email.php? - by ivantcholakov - 03-31-2015, 05:12 PM
RE: How to inspect/access config values specified in config/email.php? - by RobertSF - 03-31-2015, 06:28 PM
RE: How to inspect/access config values specified in config/email.php? - by sneakyimp - 04-01-2015, 09:08 AM
RE: How to inspect/access config values specified in config/email.php? - by RobertSF - 04-01-2015, 10:27 AM
RE: How to inspect/access config values specified in config/email.php? - by mwhitney - 04-01-2015, 10:18 AM
|