How to send mail using zoho smtp server in PHP Laravel?By Hardik Savani | December 22, 2016 | | 413 Viewer | Category : PHP Laravel
Share this post:
Laravel is a very popular and best framework in PHP. Laravel provide several mail drivers like smtp, mail, sendmail, mailgun, mandrill etc. We can also send mail using zoho smtp. I already post send mail using gmail, mailgun etc.
Laravel gives us very simple configuration for mail send. So we can simply setup zoho server details. We have to just setup detail for host, post, driver and encryption. You have to follow this link for mail sending, You have to just change, .env file. First just follow this link.
So open your .env file file and put configuration like this way. Let's change this way:
Do this way, I hope it can help you...
- How to send mail using Sendgrid in laravel 5?
- Example of unionAll in Query Builder Laravel 5
- Laravel 5 - multiple files download with response example
- Group by year month example in Laravel 5 using Query Builder
- Laravel 5 Join with subquery in Query Builder Example
- Laravel 5 dropbox api file upload example using league/flysystem-dropbox package
- Response download with file in Laravel 5.3 example
- PHP - I Can't get the $_POST Values on Ajax Request