Skip to content
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

Notifycation in case of errors in sending the emails in the queue #243

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elisongit
Copy link

Added configuration and logic to manage the sending of a notification to specific addresses in case of errors in sending the emails in the queue.
Added configuration in section "Logging and Debugging" with settings:

  • Enable notify in case of error
  • Email Template for notification
  • Addresses email for notification: addresses email to send notifications

Added new column "failed" in table "core_email_queue" default value 0. This column is set to 1 when an email generate error.

If this configuration is enabled when one or more email in queue generate an error the module:

  • send notify to "Addresess email for notification"
  • set column "failed" to 1

Added filter in collection core_email_queue that extract only message with processetAt is null and failed is 0.

… to specific addresses in case of errors in sending the emails in the queue
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

Successfully merging this pull request may close these issues.

None yet

1 participant