Komadurai Samidurai
Komadurai Samidurai

Reputation: 1

Unable to send email from magento2.3.5p2 version

I am facing an issue while trying to send emails from my Magento 2.3.5-p2 site using the Mageplaza SMTP extension. Below is the error I encountered:

Warning: stream_socket_enable_crypto(): SSL operation failed with code 1.  
OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed  
/vendor/laminas/laminas-mail/src/Protocol/Smtp.php on line 225  
  1. My mail server requires NTLM authentication, but the Mageplaza SMTP extension does not provide an option for NTLM in the "Authentication Type" dropdown.
  2. To troubleshoot, I used the SMTP Diag Tool and confirmed that I can successfully send emails from my host when using NTLM authentication.
  3. If I need to update the CA certificate, how can I do that? My website already has a valid SSL certificate installed and working successfully. Do I need to update the CA certificate specifically for the mail server only?

My questions:

  1. Is there a way to configure the Mageplaza SMTP extension to support NTLM authentication? What would be the best alternative to handle NTLM-based email sending in Magento 2?
  2. Should I create a custom module or use a mail relay server as a workaround?
  3. If the issue is related to CA certificates, how can I update them without affecting my website's existing SSL certificate setup?

Upvotes: 0

Views: 42

Answers (1)

Mageplaza
Mageplaza

Reputation: 1

Has your problem been resolved?

And you are using which provider? Maybe you can change to another authentication method?

I have some suggestions for you as follows:

  1. The Mageplaza SMTP extension does not support NTLM authentication. However, you can add a library that supports NTLM authentication to customize this extension.

  2. To check if the issue is related to the CA certificates, you can try using Gmail SMTP to send an email.

Upvotes: 0

Related Questions