Skip to content

[FEATURE] Log detailed errors when email sending fails #1803

@purplesmoke05

Description

@purplesmoke05

Is your feature request related to a problem? Please describe.

When email sending fails in the mail processor, the log only shows a generic message such as "Could not send email: id=...". It does not show the actual error details from SMTP or SES. This makes it hard to investigate configuration problems, authentication errors, and temporary service failures.

Describe the solution you'd like

Add detailed error logging when email sending fails in the mail processor. The log should keep the current mail ID information and also include the exception message or stack trace so operators can identify the cause of the failure more easily.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions