Uncaught exception: 'ErrorException'
Message: 'stream_socket_enable_crypto(): Peer certificate CN=`in10.fastwebhost.com' did not match expected CN=`smtp.gmail.com''
Stack trace:
#0 [internal function]: Core\Error::errorHandler(2, 'stream_socket_e...', '/home/hinduengg...', 354)
#1 /home/hinduengg/public_html/payments/public/PHPMailer/class.smtp.php(354): stream_socket_enable_crypto(Resource id #28, true, 121)
#2 /home/hinduengg/public_html/payments/public/PHPMailer/class.phpmailer.php(1635): SMTP->startTLS()
#3 /home/hinduengg/public_html/payments/public/PHPMailer/class.phpmailer.php(1498): PHPMailer->smtpConnect(Array)
#4 /home/hinduengg/public_html/payments/public/PHPMailer/class.phpmailer.php(1335): PHPMailer->smtpSend('Date: Fri, 19 J...', 'This is the...')
#5 /home/hinduengg/public_html/payments/public/PHPMailer/class.phpmailer.php(1213): PHPMailer->postSend()
#6 /home/hinduengg/public_html/payments/App/Controllers/Email.php(69): PHPMailer->send()
#7 /home/hinduengg/public_html/payments/Core/Router.php(121): App\Controllers\Email::testemail()
#8 /home/hinduengg/public_html/payments/public/index.php(53): Core\Router->dispatch('Email/testemail')
#9 {main}
Thrown in '/home/hinduengg/public_html/payments/public/PHPMailer/class.smtp.php' on line 354