示例#1
0
    }
    // Save to MySQL
    if ($savetomysql) {
        if ($count_bytes = $pop3->save2mysql($message, $db["link"], $db["dir_table"], $db["msg_table"])) {
            echo "File save to MySQL complete. (" . $count_bytes . " Bytes written) !! \r\n <br>";
        } else {
            echo $pop3->error;
            return;
        }
    }
    // Send Noob command !!
    if ($noop) {
        if (!$pop3->noop()) {
            echo $pop3->error;
            $noob = FALSE;
        }
    }
    // Delete MSG
    if ($delete) {
        if ($pop3->delete_mail($i)) {
            echo "Nachricht als gelöscht markiert !!! \r\n <br>";
        } else {
            echo $pop3->error;
        }
    }
}
if ($msg_list["count_mails"] == "0") {
    echo "Keine neuen Nachrichten !!";
}
mysql_close($db["link"]);
$pop3->close();