-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
CDIssue recommended for the contribution dayIssue recommended for the contribution dayComponent: MailIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Major restrictions or short-term circumventions are required until a fix is available.
Description
Preconditions
Magento 2.4-develop
Steps to reproduce (*)
- Add
throw new LocalizedException(__('test localized exception'));
before$this->sendEmail($this->validatedParams()); - Enter the contact form
- Send a message
Expected result (*)
- Exception with stack trace is logged
Actual result (*)
- No log entry in any of the Magento, PHP or Apache logs that provides any insight
Original case:
Preconditions
Magento 2.3.0, 2.3.1 or 2.3.2 CE
- sendmail is installed and working (Courier-MTA on Debian 10)
- php mail() command working fine
- order status emails are being send fine
Steps to reproduce (*)
- enter the contact form
- send a message
Expected result (*)
- email is sent
Actual result (*)
1**. as a user get a generic error message that email could not be sent**
2. No log entry in any of the Magento, PHP or Apache logs that provides any insight
Since order status emails can be sent, Magento is clearly capable of sending emails to users.
At the very least, there must be a log entry THAT something happend and best even provide inside what needs fixing. Currently there is no log entry at all. Not even on DEBUG level.
Metadata
Metadata
Assignees
Labels
CDIssue recommended for the contribution dayIssue recommended for the contribution dayComponent: MailIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.A defect with this priority could have functionality issues which are not to expectations.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.Major restrictions or short-term circumventions are required until a fix is available.
Type
Projects
Status
Done