How to Setup Zoho SMTP Server in PHP Laravel?
You know that Laravel provides several mail drivers like
mailgun, mandrill, etc. Did you know that we can also send mail using zoho smtp server in laravel 6, laravel 7, laravel 8 and laravel 9 versions? In this example, I will show you how to send email in Laravel using zoho smtp server and setup zoho smtp server.
Laravel gives us a very simple configuration for mail sending with many drivers. So you can simply set up Zoho server details. We have to just set up detail for the host, post, driver, and encryption. You have to follow this link for mail sending, You have to just change, the .env file. First, just follow this link.
MAIL_DRIVER=smtp MAIL_HOST=smtp.zoho.com MAIL_PORT=465 MAIL_USERNAMEfirstname.lastname@example.org MAIL_PASSWORD=123456 MAIL_ENCRYPTION=ssl
Hope it can help you.