Skip to content

Magento 2 : Password reset unable to send mails

From few days now, our Magento 2.3.7 website cannot send emails for password reset.
What I’ve tried is to send mail with PHP CLI mail command, that works like a char (php -r).

Adding logs into vendor/laminas/laminas-mail/src/Transport/Sendmail.php tell me that there is no error on mail function, it returns true.
But in other way, I do not have any log into /var/log/mail.log file and I don’t receive mail.

I’ve tried to telnet our SMTP server (same IP that is setup in back office), that works fine.
I have success message on front after sending form.

Do you have an idea to debug this mess ?
Thank you.