Skip to content

Email notification using AWS SES #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Scott-Gardner opened this issue Jan 21, 2025 · 0 comments
Open

Email notification using AWS SES #147

Scott-Gardner opened this issue Jan 21, 2025 · 0 comments

Comments

@Scott-Gardner
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant