You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been having a weird issue where I'm not getting any emails from ERDDAP despite the connection properties all working when I try to send mail using Python from the same server.
I think I tracked down the error though. ERDDAP detects if email is active with this:
emailIsActive = //ie if actual emails will be sent
String2.isSomething(emailSmtpHost) &&
emailSmtpPort > 0 &&
String2.isEmailAddress(emailUserName) &&
String2.isSomething(emailPassword) &&
String2.isEmailAddress(emailFromAddress);
However, because I am using a mail API client (think Twilio, because my security department insists its the only way I'm allowed to send email), my emailUserName is NOT an email address, it is an alphanumeric string (e.g. USER12345). Since this check fails, ERDDAP thinks my email settings aren't valid and won't send email.
Can we get a patch to have emailIsActive only check if emailUserName isSomething() instead?
Erin
The text was updated successfully, but these errors were encountered:
Hi!
I've been having a weird issue where I'm not getting any emails from ERDDAP despite the connection properties all working when I try to send mail using Python from the same server.
I think I tracked down the error though. ERDDAP detects if email is active with this:
emailIsActive = //ie if actual emails will be sent
String2.isSomething(emailSmtpHost) &&
emailSmtpPort > 0 &&
String2.isEmailAddress(emailUserName) &&
String2.isSomething(emailPassword) &&
String2.isEmailAddress(emailFromAddress);
However, because I am using a mail API client (think Twilio, because my security department insists its the only way I'm allowed to send email), my emailUserName is NOT an email address, it is an alphanumeric string (e.g. USER12345). Since this check fails, ERDDAP thinks my email settings aren't valid and won't send email.
Can we get a patch to have emailIsActive only check if emailUserName isSomething() instead?
Erin
The text was updated successfully, but these errors were encountered: