Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return [
- 'driver' => env('MAIL_DRIVER'),
- 'host' => env('MAIL_HOST'),
- 'port' => env('MAIL_PORT'),
- 'from' => [
- 'address' => env('MAIL_FROM_ADDRESS'),
- 'name' => env('MAIL_FROM_NAME'),
- ],
- 'encryption' => env('MAIL_ENCRYPTION'),
- 'username' => env('MAIL_USERNAME'),
- 'password' => env('MAIL_PASSWORD'),
- 'sendmail' => '/usr/sbin/sendmail -bs',
- 'markdown' => [
- 'theme' => 'default',
- 'paths' => [
- resource_path('views/vendor/mail'),
- ],
- ],
- ];
- MAIL_DRIVER=smtp
- MAIL_HOST=smtp.gmail.com
- MAIL_PORT=587
- MAIL_USERNAME=j*********
- MAIL_PASSWORD=***********
- MAIL_ENCRYPTION=tls
- MAIL_FROM_ADDRESS=j*******1805@gmail.com
- MAIL_FROM_NAME=*************
- Mail::send('emails.confirma',$rq,function($message) use($rq){
- $message->subject('Confirmacion de Registro');
- $message->to($rq['email']);
- });
- (1/1) Swift_TransportException
- Expected response code 250 but got code "530", with message "530 5.7.1 Authentication required
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement