db-sync icon indicating copy to clipboard operation
db-sync copied to clipboard

Email notification using AWS SES

Open Scott-Gardner opened this issue 11 months ago • 0 comments

Email notifications fail when using AWS SES SMTP server. The smtp_functions.py script does not log the actual error message.

Commenting out lines 45 and 46 allows mail to be sent through SES Modifying the except on line 53 and 54 with the following led me to the issue

except Exception as err: logging.debug(f"Failed to send notification email with error: {err}")

As a work around I am including the below in my docker run command to use the modified version of the script -v /path/to/host/smtp_functions.py:/mergin-db-sync/smtp_functions.py

Scott-Gardner avatar Jan 21 '25 10:01 Scott-Gardner