[Orchestrator] - Potential issue on SSL or TLS secure connection for SMTP server reachability
Actual behavior
It is been discovered that if the variable passed to the mail controller is in CAPITAL, such as below :
MAIL_SEC="SSL"
The remote SMTP server won't respond and the query will fail.
It would be potentially justified to put SSL or TLS or STARTLS in lower case within the code.
Expected behavior
SMTP server reachable.
Step by step description of new behaviour
A verification of the ENV variable for the secure methode in order to pass it in lowercase.
Benefits
No risks of mistakes from the end user and SMTP server if AUTH enabled will succeed.
Possible Drawbacks
None.
Applicable Issues
None.