Laravel provides a clean, simple API over the popular SwiftMailer library. The mail configuration file isapp/config/mail.php, and contains options allowing you to change your SMTP host, port, and credentials, as well as set a global from address for all messages delivered by the library. You may use any SMTP server you wish. If you wish to use the PHP mail function to send mail, you may change the driver to mail in the configuration file. A sendmail driver is also available.

SMTP or Simple Mail Transfer Protocol enables you to send emails through the specified server from standard email sending software. When you send an email from a software and want to send using your Zoho Mail account, you need to configure the specified Zoho SMTP server settings to be able to send emails.

 

Set the mail setting on the laravel app/config/mail.php

 

for configuration using TLS, change the port and the encryption set

 

Leave a Comment

Your email address will not be published. Required fields are marked *