I was wondering if it’s possible to change data in the config and controller file through the panel , in particular the smtp information?
I want to make it easy for an admin to login and edit the smtp email and password the in the config file as well as manage where the form emails get sent to ini the controllers file.
You can use
beforeSend option and there is a solution about that shared by @phm
The client uses Outlook, not Gmail, so I’m not sure if this solution would work for me in this instance…
It doesn’t matter which platform you send from. The part I want to pay attention to is the
beforeSend option, you can read an information entered from the panel and update your SMTP credentials.