What is the recommended configuration for sending emails in Laravel 5.1 using Gmail SMTP?

When sending emails in Laravel 5.1 using Gmail SMTP, it is recommended to configure the mail driver to use SMTP and set the necessary SMTP credentials for Gmail. This includes setting the host to smtp.gmail.com, the port to 587, the encryption to tls, and providing your Gmail email address and password for authentication.

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=your@gmail.com
MAIL_PASSWORD=your_password
MAIL_ENCRYPTION=tls