title: Laravel, Failed to authenticate on SMTP server with username "" using 3 possible authenticators
body: <p>I am trying to find out why this happens.</p>
  
  <blockquote>
    <p>.env</p>
  </blockquote>
  
  <pre><code>MAIL_DRIVER=smtp
  MAIL_HOST=smtp.gmail.com
  MAIL_PORT=587
  MAIL_USERNAME=*******t@gmail.com
  MAIL_PASSWORD=******
  MAIL_ENCRYPTION=tls
  </code></pre>
  
  <blockquote>
    <p>mail.php</p>
  </blockquote>
  
  <pre><code>&lt;?php
  return [
  
      'driver' =&gt; env('MAIL_DRIVER', 'smtp'),
  
      'host' =&gt; env('MAIL_HOST', 'smtp.gmail.com'),
  
      'port' =&gt; env('MAIL_PORT', 587),
  
      'from' =&gt; ['address' =&gt;  '******@gmail.com', 'name' =&gt; 'Project'],
  
      'encryption' =&gt; env('MAIL_ENCRYPTION', 'tls'),
  
      'username' =&gt; env('******@gmail.com'),
  
      'password' =&gt; env('******'),
  
      'sendmail' =&gt; '/usr/sbin/sendmail -bs',
  
      'pretend' =&gt; false,
      'stream' =&gt; [
          'ssl' =&gt; [
              'allow_self_signed' =&gt; true,
              'verify_peer' =&gt; false,
              'verify_peer_name' =&gt; false,
          ],
      ],
  ];
  </code></pre>
  
  <blockquote>
    <p>This is the error</p>
  </blockquote>
  
  <pre><code>Failed to authenticate on SMTP server with username "" using 3 possible authenticators. Authenticator LOGIN returned Swift_TransportExce ▶
  534-5.7.14 GVHg3-rU8SDpVLdwnIPviBCjKNnBRcxuU2N3-pcUWd0TeMbM_vULrHhQcVNXjhoewjrquW\r\n
  534-5.7.14 Jttd6jNXfnledZiAMv-rjMvpnd01nas-2J2BYU_Krd4kzT-YmTR_HW9uW3S6Ts2jUxDaC8\r\n
  534-5.7.14 XmT_TV9QqYXHXkTMcrX3OG9D4QyF4E6w7fwnu2bYZT36rZXTU-HqJwlWzJBv8-MC2P9xrN\r\n
  534-5.7.14 cUd4-BirG0rfAjlDxy5bkbon3S_bIFSZQVd0-5wskctUR4do7F&gt; Please log in via\r\n
  534-5.7.14 your web browser and then try again.\r\n
  534-5.7.14  Learn more at\r\n
  534 5.7.14  https://support.google.com/mail/answer/78754 l5-v6sm1366079wrv.84 - gsmtp\r\n
  " in C:\xampp\htdocs\wer\walrer\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php:457\n
  Stack trace:\n
  </code></pre>
  
  <blockquote>
    <p>I checked email credentials and they are the same. In this project I
    have used authentication , but can't find a solution to this one.</p>
  </blockquote>