This commit is contained in:
steven 2025-08-11 22:23:30 +02:00
commit 72a26edcff
22092 changed files with 2101903 additions and 0 deletions

20
mail.php Normal file
View file

@ -0,0 +1,20 @@
<?php
$mbox = imap_open("{imap.jb-transport.de:143/novalidate-cert}INBOX", "edv@jb-transport.de", "nV57eeeM", OP_HALFOPEN)
or die("can't connect: " . imap_last_error());
$list = imap_list($mbox, "{imap.jb-transport.de}", "*");
if (is_array($list)) {
foreach ($list as $val) {
echo imap_utf7_decode($val) . "<br />\n";
}
$check = imap_check ($mbox);
echo imap_num_msg($mbox);
} else {
echo "imap_list failed: " . imap_last_error() . "\n";
}
imap_close($mbox);
?>