How to use cPanel email accounts to send confirmation emails in Laravel?

How to use cPanel email accounts to send confirmation emails in Laravel?

If you have uploaded your Laravel project onto production you might want to send confirmation emails to new users using emails such as: [email protected] You can subscribe to Google Workspace to create custom email addresses at a domain (e.g. [email protected]). But, it costs you money to use enterprise features. 


Alternatively, you can use the email accounts provided by cPanel on your Laravel Application for sending various emails.


1. First, click on the Email Accounts from the Email Tab



2. Click the CREATE button

 


3. Choose a custom name (e.g. noreply) and choose a password



4. Your custom email is created successfully



5. Now, open your .env file add the following details


Boom! You have successfully added cPanel email account for sending mail on your Laravel Project. 

Recent comments(0)

Please, Sign In to leave a reply