Add php files
This commit is contained in:
12
modules/EcmNoteOuts/sendmail.php
Executable file
12
modules/EcmNoteOuts/sendmail.php
Executable file
@@ -0,0 +1,12 @@
|
||||
<?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";
|
||||
}
|
||||
Reference in New Issue
Block a user