Is there a way other than searching into the servoy.properties file to get the SMTP server name/IP given to the standard mail plugin provided in Servoy and that you configure in the administration page?
The plugin doesn’t seem to provide a function returning it
Once the solution in production, the SMTP setting still can be changed (new server, server name changed, etc…). And changing the setting can be done by any Admin, not necessary people who installed Servoy and the solution.
So I need to be able to read this setting “dynamically”.
You need to read so you can override it or so you can show it to the user ?
If you don’t want any admin to change it then why not manage it yourself in the database. You can simply override any mail server setting by passing the server, user and password settings in the mail plugin.
No, in fact, I have developed a plugin to be able to manage the contacts in the Exchange Server and I would like to avoid the admins to enter the server settings a second time into my solution.