infinityfree doesn't support phpmailer code example
Example: phpmailer doesnt work on infinityfree
$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);