Page 1 of 1

imap prob

Posted: 2003-12-14 00:15
by knuppel
hab nen V Server bei Greatnet.....dacht imap sei installiert

mit folgendem code :
<?php
$mh = imap_open("{localhost:143}INBOX", $user, $pass);
if (imap_ping($mh)) {
echo "Stream ist aktiv";
} else {
echo "Stream ist inaktiv";
}
?>

krieg ich folgende

Warning: Couldn't open stream {localhost/pop3:110}INBOX in /opt/web1/html/imap.php on line 2
Kann IMAP Stream nicht öffnen

telnet localhost 143
bringt mir connection refused...
hab auch den service in der inetd... dings geändert

weiß einer Rat?

Re: imap prob

Posted: 2003-12-14 00:20
by jtb
überprüf mal deinen Code..
Die Warning passt nicht zum open (Port 143 und 110)!?

Ansonsten: hast du eine Firewall? was sagt netstat? Ist der Imap-Port überhaupt offen?

Re: imap prob

Posted: 2003-12-14 12:29
by knuppel
wie kann ich das überprüfen?

bzw wir kann ich ihn öffnen?