magento2: Magento 2.3 contact form not sending emails( No log entry)

Preconditions

Magento 2.4-develop

Steps to reproduce (*)

Expected result (*)

  1. Exception with stack trace is logged

Actual result (*)

  1. 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

  1. sendmail is installed and working (Courier-MTA on Debian 10)
  2. php mail() command working fine
  3. order status emails are being send fine

Steps to reproduce (*)

  1. enter the contact form
  2. send a message

Expected result (*)

  1. 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.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 24 (11 by maintainers)

Most upvoted comments

The automatic text block fails to mention if this ticket will be updated with status (fixed, wontfix, notreproducable,closed,…) information as well as release-information when MV-31077 gets status updates (such as when it gets closed as fixed and assigned to a release).