Create A Email Account From Cpanel For Laravel Email Verification - FreeCodeBlog

Last updated: Nov 25, 2021

Want to create an email account from cpanel? Yes!. Okay But why? Because I want to verify laravel email verification. Okay If you want to send a laravel email notification to users for user email verification in laravel then you need to create an email account from cpanel and you need to use email details into your laravel website for user email verification. Actually you need to read this create an email account from cpanel for laravel email verification tutorial step by step. Don't forget to ready email account create from cpanel and laravel email verification step. So let's start to read.

 

Create A Email Account From Cpanel For Laravel Email Verification
Create A Email Account From Cpanel For Laravel Email Verification.

 

1. Login C-Panel Dashboard.

At first you need to login cpanel dashboard to create an email account. You can easily login to cpanel dashboard using username and password to create an email account. So don't be late. Login into cpanel dashboard as soon as possible.

 

2. Create Email Account.

Listen friends, Now first you need to find email accounts option on cpanel to create an new email account from cpanel. You may get email account option from email section on cpanel. Now you need to click on the “Email Accounts” from cpanel dashboard email section to go list email accounts page. Are you on the email account list? yes!. Okay then now you need to click on the “create” button to create an email account for laravel email verification. Did you click the Create button? Yes! Okay now you need to fill user name, password and more information to create an email account from cpanel for laravel email verification. Finally you need to click on create button to create a new email account on cpanel.

 

If you fill username like ‘no-reply’ then your created email will create like “no-reply@domain-name”. For more information don't forget to read how to create an email account from cpanel tutorial.

 

Now you need to return to the list email accounts page after creating the email account from cpanel. So are you back to the email account list? Yes. Okay now click on connect devices button. Now collect mail information from mail client manual settings. Please don't forget to collect email's username, password, smtp port. If the available options are not compatible with your application, you will need to use the Manual Settings information. For laravel email verification you can manually configure your mail client using the secure SSL/TLS Settings (Recommended). Well since you need to send (outgoing) email to users email verification notification therefore you need to collect outgoing smtp port for laravel email verification.

 

Secure SSL/TLS Settings (Recommended)
Username: 	no-reply@your-domain
Password: 	Use the email account’s password.
Incoming Server: 	your-domain
IMAP Port: 993 POP3 Port: 995 
Outgoing Server: 	your-domain
SMTP Port: 465 
IMAP, POP3, and SMTP require authentication.

 

3. Upload Laravel To Cpanel.

Did you create an email account from cpanel? Yes. Okay now you need to upload laravel project to cpanel before edit .env file. I know how we can upload laravel project to shared hosting cpanel but In this tutorial I can't explain you to uploading laravel on cpanel because It's a long process. Don't worry I already made some tutorials about upload laravel project to shared hosting. So If you don't know how to upload laravel to cpanel then read the best way to upload laravel projects to shared hosting cpanel tutorial.

 

Well before uploading laravel project to cpanel you need to create laravel email verification project. If you don't implement notification system in your laravel website then you can't send any email to users after added mail information in .env file from cpanel. So please read how to make a user email verification in laravel tutorial to develop your skill about laravel email verification and notification.

 

4. Edit .Env File.

Finally you need to edit laravel env file from cpanel to send email verification email. I hope you have done all the other configurations. Okay now open .env file on cpanel editor from file manager and edit mail section. You need to use your created “no-reply@your-domain” email SSL information in .env file. I hope laravel smtp mail driver will work for cpanel mail account. If laravel mail driver will not working you can change mail driver from env and config mail file. You need to use mail mailer as a smtp, mail host as a www.domain-name.domain-extension, mail port as a 465 (don't forget to use your created email account's outgoing smtp port), mail username as a no-reply@your-domain (don't forget to use your created email account username), mail password as a created email account's password, mail encryption as a SSL if you want to use secure SSL/TLS Settings (Recommended) option.

 

MAIL_MAILER=smtp
MAIL_HOST=your-domain
MAIL_PORT=465
MAIL_USERNAME=no-reply@your-domain
MAIL_PASSWORD=email-accounts-password
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=no-reply@your-domain
MAIL_FROM_NAME="${APP_NAME}"

 

Okay so this is for today. See you again next tutorials. Thanks

Post Tags
Post Writer
masum7323
Masum Biswas (@masum7323)

My name is Masum Biswas. I'm a full stack developer. I live in Bangladesh and I love to write tutorials and tools that can help to other artisan. I am a big fan of PHP, Javascript, JQuery, Laravel, MySQL, VueJS, Tailwind CSS and Bootstrap from the early stage.

Follow Me On
Related Posts
Laravel Mix Complete Tutorial

After installed laravel you will get laravel mix files into project root folder. In this tutorial I will explain you all about laravel mix. so wast... Read More

Install Laravel Ui Package In Any Kind Of Laravel Version

Want to install laravel ui in laravel? Laravel ui is a laravel first-party user authentication package and you can easily install it on any kind of... Read More

3 Ways To Upload Laravel Projects To Shared Hosting Cpanel

We can easily upload Laravel projects to shared Hosting (cpanel) using Zip file, Ftp and git version control method. To upload Laravel projects to... Read More

Download A File In Laravel Vue From Storage Folder

Want to download a file from storage folder in laravel with vue js? Yes! Okay don't worry you can easily make a download file from storage folder s... Read More

How To Create Ftp Accounts On Cpanel Shared Hosting

Want to create a FTP account from cpanel? Yes. Create and configure FTP Accounts to get your website on the internet fast. You can use an FTP clien... Read More