phpmailer doesnt work on infinityfree
snippet in php

phpmailer doesnt work on infinityfree

user9194

$mail->SMTPOptions = array(
        'ssl' => array(
            'verify_peer' => false,
            'verify_peer_name' => false,
            'allow_self_signed' => true
        )
    );