I configured the server email in my Magento project, but I noticed that it takes a long time to create customers and process orders. Upon investigating the issue, I found that the delay occurs in the mailHandler function within the file vendor/laminas/laminas-mail/src/Transport/Sendmail.php.
I’m wondering if there is a missing configuration or if anyone else has encountered a similar problem and found a solution.
Thank you in advance for any assistance you can provide.