New SMTP configuration options for Magento 2.4.6

The Magento 2.4.6 admin now has new SMTP configuration options that eliminate the need for any third-party modules to send emails via SMTP

Let’s see what we got till Magento 2.4.5 in M2 admin for SMTP

In M2 admin got to Store->Advanced->System->Mail Sending Settings

The above configuration is only to send mail by configuring Sendmail. Sendmail is a local program to send mail but it isn’t reliable or consistent compared to SMTP.

Searching for an experienced
Magento 2 Company ?
Read More


Now, in Magento version 2.4.6, these above settings are changed and a new Transport option is provided.

Screenshot-from-2023-03-30-16-08-09

Here above in the Transport field, we have 2 options one for Sendmail and the other for SMTP.

Once SMTP is selected we are provided with additional fields where we can define our host/provider along with port, username, and password see below.

m246smtpconfig

We can also set the SSL and Auth settings for the SMTP provider.

Using the above Magento 2.4.6 can now send emails via SMTP provider and there is no need for third-party modules.


Source link