Skip to content

Conversation

@SimonasBudejis
Copy link

Description (*)

This PR introduces the Transport Exception message saving to the same database table as SMTP logs. By default, an "ERROR" label is displayed in the admin grid if the email fails to send. However, this does not create easy and quick access to view WHY the email failed to send. Digging this in Magento log files becomes tedious very quickly.

This PR implements the rendering of said error/exception message in the modal popup when the user selects to "View" a specific email log from the actions dropdown.

Manual testing scenarios (*)

  1. Enable SMTP module
  2. Configure the SMTP connection incorrectly so that the email fails to send
  3. Attempt to send any email; order email, invoice, etc.

@SimonasBudejis SimonasBudejis changed the title #1: Save exception errors in DB and render in admin modal Save exception errors in DB and render in admin modal Jan 24, 2025
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.

1 participant