In Magento, you can configure and use SMTP (Simple Mail Transfer Protocol) settings for sending emails by modifying the email transport settings. Here are the steps to configure and use SMTP settings for emails in Magento:
Log in to the Magento admin panel and go to “Stores” > “Settings” > “Configuration”
Under “Advanced,” select “System”
Under “Mail Sending Settings,” change the “Transport” set to “SMTP”
Fill in the “Host” field with the SMTP server hostname or IP address
Fill in the “Port” field with the SMTP server port number
Fill in the “Username” and “Password” fields with the SMTP server login credentials, if required
Fill in the “Authentication” field with the SMTP server authentication method, if required.
Fill in the “Security” field with the SMTP server security type, if required
Click on “Save Config”
By setting the transport to SMTP, Magento will use the SMTP server to send emails. This will allow you to use your own email server or third-party email service to send emails, which can improve the reliability and speed of email delivery.
It’s important to note that some SMTP services may require additional settings or configurations. You may need to consult the documentation for your SMTP service for more information about the specific settings required.
You can test the SMTP configuration by sending a test email from the Magento admin, to do that go to “System” > “Tools” > “Email Settings” > “Send a Test Email”
It’s important to test the email settings after making any changes to ensure that emails are being sent correctly.