Closed aded closed 2 years ago
I'm sorry for my delay in responding.
I looked in the code. I see the problem. For String parameters, ERDDAP is correctly looking for ERDDAP_paramName. But for int and boolean parameters, ERDDAP is incorrectly looking for just paramName.
So, for now as a work-around, try just setting "emailSmtpPort", not "ERDDAP_emailSmtpPort". And after the next ERDDAP release, switch to "ERDDAP_emailSmtpPort".
Thanks for reporting this bug.
Hello,
when I set SMTP port through env var, the value is ignored (587, Google account):
log.txt
:If I set the value in
setup.xml
:things work correctly.
Please note I deploy ERDDAP via-Docker. I opened an issue there (https://github.com/axiom-data-science/docker-erddap/issues/46), but the bug seems related to ERDDAP actually. The variable is properly set inside the container, I can see the value when the container starts, or through
docker inspect
. Or