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
Since a version is not written to the database, short and long format emails are repeatedly sent to emails for that alert level.
Failure point:
In the logging, the last available message is always "Sending pdf addresses..."
If it completed without failure it should say "Done." after that.
This means that it is failing between lines 316 and 329.
The attachment along with the special characters in the message may be causing a failure that is captured by try/except in EmailSender, but isn't logged?
The text was updated successfully, but these errors were encountered:
hschovanec-usgs
changed the title
Strange behavior for events with special characters
Strange behavior for events with special characters (in the location description)
Oct 20, 2020
Tested locally, when a special character (example message "Hafnarfjörður, Iceland") is included in the message for an email without an attachment no error occurs. When any attachment is encluded (even simple text file) the special character results in the following exception: Exception: Could not send mail to with EmailSender. "The message to ['', ',<EMAIL REDACTED>'] was not sent. The server error messages are below:{'<SMTP SERVER REDACTED>': "Connection to server failed (possible timeout): 'ascii' codec can't encode character '\\xf6' in position 330: ordinal not in range(128)"}"
Behavior:
Failure point:
The text was updated successfully, but these errors were encountered: