Files
crm.twinpol.com/modules/EcmInvoiceOuts/sendmail.php

12 lines
185 B
PHP
Raw Normal View History

2025-05-12 15:44:39 +00:00
<?php
$fp = fsockopen("smtp.gmail.com", 465, $errno, $errstr, 20);
echo 'Connect?<br>';
if($fp){ // Work
echo 'ok';
}
else{
echo 'Not work';
echo "<br>$errstr ($errno)<br />\n";
}