title: OpenSSL Error error on sending mail in laravel5.5
body: <p>I am trying to send mail in laravel5.5 using simple mail method, below is the code which i am trying to call in controller for mail function:-</p>
  
  <pre><code>Mail::send('emails.special_orders', ['key' =&gt; 'value'], function($message)
      {
          $message-&gt;to('infinity@gmail.com', 'John Smith')-&gt;subject('Welcome!');
      });
  </code></pre>
  
  <p>After this, i have also put the details in .env file i.e.:-</p>
  
  <pre><code>MAIL_DRIVER=smtp
  MAIL_HOST=smtp.gmail.com
  MAIL_PORT=587
  MAIL_USERNAME=infinity@gmail.com
  MAIL_PASSWORD=12345
  MAIL_ENCRYPTION=tls
  </code></pre>
  
  <p>Even in config/mail.php file i have written:-</p>
  
  <pre><code>'from' =&gt; [
      'address' =&gt; env('MAIL_FROM_ADDRESS', 'infinity@gmail.com'),
      'name' =&gt; env('MAIL_FROM_NAME', 'Example'),
  ],
  </code></pre>
  
  <p>When I am trying to send mail, I am receiving an error, like:-</p>
  
  <pre><code>{
  "message": "stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed",
  "exception": "ErrorException",
  "file": "C:\\xampp\\htdocs\\salon\\vendor\\swiftmailer\\swiftmailer\\lib\\classes\\Swift\\Transport\\StreamBuffer.php",
  "line": 94,
  "trace": [
      {
          "function": "handleError",
          "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
          "type": "-&gt;"
      },
  </code></pre>
  
  <p>What could be the reason?</p>