Magento 2.4.6 introduces option for setting up SMTP authentication from admin management itself.
It was hard setting up a stable SMTP connection with Magento as we need to use 3rd party extension of custom code for it. But from Magento 2.4.6 it is easier as Magento has made it as a built-in feature.
Go to Stores >> Configuration >> Advanced >> System
Open Mail Settings and you can see all options related to SMTP.
Updated : 30 Mar 24