i am using laravel 5.2 and php 5.6
.env
MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=465
MAIL_USERNAME=m.junaidmasood@gmail.com
MAIL_PASSWORD=****
MAIL_ENCRYPTION=ssl
mail.php
<?php return [ 'driver' => env('MAIL_DRIVER', 'smtp'), 'host' => env('MAIL_HOST', 'smtp.gmail.com'), 'port' => env('MAIL_PORT', 465), 'from' => ['address' => 'm.junaidmasood@gmail.com', 'name' => 'atyourpoint'], 'encryption' => env('MAIL_ENCRYPTION', 'ssl'), 'username' => env('MAIL_USERNAME'), 'password' => env('MAIL_PASSWORD'), 'sendmail' => '/usr/sbin/sendmail -bs', ];Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community