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.
9 thoughts on “Send Email Via Cpanel Smtp Server In Laravel”
Hello, the whole thing is going sound here and ofcourse every one is sharing facts, that’s
really good, keep up writing.
i have followed the step correctly but its like everything goes on silent
at what point, it should work
Certainly. It was and with me. We can communicate on this theme.
I am really enjoying the theme/design of your site.
Do you ever run into any web browser compatibility issues?
A couple of my blog audience have complained
about my blog not working correctly in Explorer but looks great in Chrome.
Do you have any recommendations to help fix this problem?
Feel free to surf to my web-site – 2022
Try different themes you’ll the perfect one.
thanks for this