title: How to configure `.env` file in Laravel for sending mail?
body: <p>Getting error while sending mail from a in <code>Laravel</code> website.</p>
  
  <blockquote>
    <p>local.ERROR: Connection could not be established with host smtp.gmail.com [A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. #10060]</p>
  </blockquote>
  
  <p><code>.env</code> file</p>
  
  <pre><code>MAIL_DRIVER=smtp
  MAIL_HOST=smtp.gmail.com
  MAIL_PORT=587
  MAIL_USERNAME=arafat@lasermedicalbd.com
  MAIL_PASSWORD=app_specific_password
  MAIL_ENCRYPTION=tls
  </code></pre>
  
  <p>Already googling but can't get the solution yet. Whatever I change( <code>PORT</code>, <code>DRIVER</code> ) in <code>.env</code> file always shows the same error.</p>
  
  <p>How to solve it  !!</p>