Laravel:使用Gmail发送邮件时出错

My system submits a form which contains data that will be sent through the controller:

Mail::to( $requests->input('email') )->send( new ResultMail($requests));

This error shows up whenever I try to submit my form data. I've double checked my user credentials in .env and they are correct.

This problem is caused due to a bad configuration of SSL in your server. Make sure curl is installed on it and that .crt file exists.