How to integrate Zoho SMTP Mail into Laravel?
Today, We will learn How to integrate Zoho SMTP Mail into Laravel. The Zoho SMTP integration has quite simple. All you need to do is to set the Mail Configuration in the .env file in Laravel. Laravel gives us a very simple configuration for mail sending. Also, Laravel provides several mail drivers like mail, Sendmail, SMTP, mailgun, mandrill, etc. And today We can use send mail using Zoho SMTP in the Laravel application.
Also read: How to send email via Cpanel SMTP server in Laravel
We can simply set up Zoho server details. So We have to just setup detail for MAIL_DRIVER, MAIL_HOST, MAIL_ENCRYPTION, MAIL_PORT, MAIL_FROM_ADDRESS & MAIL_USERNAME, and MAIL_PASSWORD.
Also read: How to Send Email in Laravel with Example
I need help setting up my Zoho email in my Laravel application.
So open your .env file and add the below configuration.
#.env
MAIL_DRIVER=smtp
MAIL_HOST=smtp.zoho.in //check your account region
MAIL_PORT=465
MAIL_ENCRYPTION=SSL
MAIL_FROM_ADDRESS=youremail@domain.com
MAIL_USERNAME=youremail@gmail.com
MAIL_PASSWORD=******