Mailinglisten-Archive |
Folgendes Script
<?php
$MAILSERVER="{mail.wa-p.de/pop3:110}INBOX";
$mbox=imap_open($MAILSERVER,"user","passw");
$list = imap_getmailboxes ($mbox, "{$MAILSERVER}", "*");
if (is_array ($list)) {
reset ($list);
while (list( $key, $val) = each ($list)) {
print "($key) ";
print imap_utf7_decode ($val->name) . ",";
print "'" . $val->delimiter . "',";
print $val->attributes . "<br>\n";
}
} else {
print "imap_getmailboxes failed: " . imap_last_error() . "\n";
}
imap_close ($mbox);
?>
funktioniert nicht! Ich bekomme immer einen could not open stream fehler?
Muss man denn für INBOX was anderes einsetzen?
--
**********************************************
* Jochen Kächelin *
* Ihr WEBberater - Werbeagentur Pulvermüller *
* Stuttgarter Str. 3 - D-73033 Göppingen *
* www.wa-p.de - mailto:info_(at)_wa-p.de *
**********************************************
php::bar PHP Wiki - Listenarchive