CodeIgniter Forums
How to set Codigniter 4 Email Config from Env - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: How to set Codigniter 4 Email Config from Env (/showthread.php?tid=81816)



How to set Codigniter 4 Email Config from Env - yoshi - 05-02-2022

I was able to create a login function using "myth / auth". However, in the current state, information such as passwords will be published on github. Is there a way to read the settings from `env`?


RE: How to set Codigniter 4 Email Config from Env - kenjis - 05-02-2022

Like this: https://github.com/codeigniter4/devkit/blob/develop/src/docker/README.md#env-3


RE: How to set Codigniter 4 Email Config from Env - yoshi - 05-02-2022

(05-02-2022, 05:47 AM)kenjis Wrote: Like this: https://github.com/codeigniter4/devkit/blob/develop/src/docker/README.md#env-3


Thank you Kenjis-san. Your Japanese page is also useful to me.
I understanded .env is related config for `app\Config\files`