Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MAIL_DRIVER=smtp
- MAIL_HOST=smtp.gmail.com
- MAIL_PORT=587
- MAIL_USERNAME=myemail@gmail.com
- MAIL_PASSWORD=MyPassword
- MAIL_ENCRYPTION=null
- <?php
- return [
- 'driver' => env('MAIL_DRIVER', 'smtp'),
- 'host' => env('MAIL_HOST', 'smtp.gmail.com'),
- 'port' => env('MAIL_PORT', 587);
- 'from' => [
- 'address' => env('MAIL_FROM_ADDRESS', 'hanieasemi76@gmail.com'),
- 'name' => env('MAIL_FROM_NAME', 'hanie'),
- ],
- 'encryption' => env('MAIL_ENCRYPTION', 'ssl'),
- 'username' => env('MAIL_USERNAME'),
- 'password' => env('MAIL_PASSWORD'),
- 'sendmail' => '/usr/sbin/sendmail -bs',
- 'stream' => [
- 'ssl' => [
- 'allow_self_signed' => true,
- 'verify_peer' => false,
- 'verify_peer_name' => false,
- ],
- ],
- 'markdown' => [
- 'theme' => 'default',
- 'paths' => [
- resource_path('views/vendor/mail'),
- ],
- ],
- ];
Add Comment
Please, Sign In to add comment