It would be interesting if Netuno enabled automatic logging of sent emails, allowing for better control, auditing, and diagnosis of any sending issues.
Ideally, this feature should be configurable, allowing the log to be enabled or disabled as needed.
Since the application configuration file is in JSON, an option could be added to the SMTP section, for example:
"smtp": {
"default": {
"enabled": false,
"host": "smtp.gmail.com",
"port": 465,
"ssl": true,
"username": "*****@gmail.com",
"password": "*****",
"logEmails": true,
"logLevel": "info"
},
}
Where:
• ‘logEmails’ would enable or disable the logging of emails sent;
• ‘logLevel’ would define the level of detail in the log (e.g. info, debug, error).
This way, email logging could be controlled through configuration alone, without the need to change the application code.
It would be interesting if Netuno enabled automatic logging of sent emails, allowing for better control, auditing, and diagnosis of any sending issues.
Ideally, this feature should be configurable, allowing the log to be enabled or disabled as needed.
Since the application configuration file is in JSON, an option could be added to the SMTP section, for example:
Where:
• ‘logEmails’ would enable or disable the logging of emails sent;
• ‘logLevel’ would define the level of detail in the log (e.g. info, debug, error).
This way, email logging could be controlled through configuration alone, without the need to change the application code.