Hello, there in this tutorial I will show how to configure email settings in Cpanel for your laravel application. Before we get started you may want to check how to send emails in laravel from this video on Youtube.
Alright, let’s get started.
Head over to your Cpanel dashboard.
Go to the part that has Email. Click on the Email accounts.
Here you will be presented with list of emails accounts you might have created or else you can create one.
Click on the connected devices button found at the right corner of your Cpanel.
Now go to the Mail Client Manual Settings.
The credentials that you will need are from the outgoing server. This is what you will need to update your
The configurations that you will need to update the
.env file are as below
copy them and place them in the
.env file remember the password should be set from the email accounts and you are good to go.
Once this is done you can go ahead and test your laravel contact form by sending a message. This is the result you should get.