I have uploaded my laravel project onto the production server. Locally, I was using my personal gmail account to send confirmation emails to new users. Since I've uploaded it already, I created an email account in cpanel "[email protected]". How do I use this in my Laravel project?
You can also use your cPanel server as a mail server. Read on to learn more about cPanel Webmail and how to login to check your email accounts' inboxes!
You can now use your cPanel email address from directly within an existing Gmail account. When you Compose a new email, you will see the option to choose which email address you are sending from.
In .env
file add following details
MAIL_DRIVER=smtp
MAIL_HOST=your_host
MAIL_PORT=your_port
MAIL_USERNAME=your_mail_username
MAIL_PASSWORD=your_mail_password
MAIL_ENCRYPTION=your_encryption
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With