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

[5.x]: If an error occurs during 'send email' via the orders page, there is no feedback to the admin user #3693

Open
jlawrence-yellostudio opened this issue Sep 26, 2024 · 1 comment

Comments

@jlawrence-yellostudio
Copy link

What happened?

Description

If an error occurs during mail transport, there is no error indicated to the admin user, just an infinite spinner. The error does get logged in the javascript console.

Screenshot 2024-09-26 at 16 28 20 Screenshot 2024-09-26 at 16 29 02

Steps to reproduce

  1. Provide invalid mail settings in email settings, e.g. SMTP transport with invalid host, or some custom transport with invalid API key.
  2. Try to send a commerce email from the order detail page.

Expected behavior

  1. An in page notification telling the admin an error has occurred.

Actual behavior

  1. Infinite spinner and javascript console error.

Craft CMS version

5.4.4

Craft Commerce version

5.1.1

PHP version

8.3.9

Operating system and version

Darwin 22.6.0

Database type and version

MySQL 8.3.0

Image driver and version

GD 8.3.9

Installed plugins and versions

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

No branches or pull requests

1 participant