title: Connection could not be established with host smtp.gmail.com [Connection refused #111] in laravel 5.6 email send
body: <p>Email Sending failed from cpnel but it works fine in my localhost.</p>
  
  <p>Here is my email configuration in <strong>.env</strong> file.</p>
  
  <pre><code>MAIL_DRIVER=smtp
  MAIL_HOST=smtp.gmail.com
  MAIL_PORT=465
  MAIL_USERNAME=myemail@gmail.com
  MAIL_PASSWORD=mypassword
  MAIL_ENCRYPTION=ssl
  </code></pre>
  
  <p>It works fine in localhost but not working in cpanel. In cpanel it shows</p>
  
  <pre><code>Connection could not be established with host smtp.gmail.com [Connection refused #111]
  </code></pre>
  
  <p><strong>How do i solve this?</strong></p>