Using this tool, you can generate the necessary SMTP configuration for your Laravel application to send emails with your domain email.
Steps to follow (cPanel):
-
Go to your cPanel and search for "Email Accounts" in the tool search bar.
-
Click on the "➕ Create" button and create an email account.
-
Navigate back to the "Email Accounts" page, and click on the "📱 Connect Devices" button.
From the "Mail Client Manual Settings" section, retrieve the following details:
Incoming Server, SMTP Port (Outgoing Server), Username, Password, and Mail Address.
-
Fill in all the retrieved information in the form on this page and click the "Generate env Configuration" button.
-
Copy the generated text displayed below.
-
Open your
.env
file in your Laravel project, and paste or replace the text with the generated configuration.