//Turn off cert checking for self signed //Probably needed when you fail to auth $phpMailer->SMTPOptions = [ 'ssl' => [ 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true ] ];