Skip to content

Email notification using AWS SES #147

Open
@Scott-Gardner

Description

@Scott-Gardner

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions