RE: [PHP-WIN] Couldn't Open Stream Issues
| From: | R'twick Niceorgaw | Date: | Tue, 20 Nov 2001 01:22:23 +0000 |
| Subject: | RE: [PHP-WIN] Couldn't Open Stream Issues | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-10526@lists.php.net to get a copy of this message | ||
It definitely looks like server doesn't like something. See in the server
logs if it says any thing. I have never used argosoft server so no idea
what's wrong with it.
Try to use the pop3 protocol name in the request like
$mbox = imap_open("{".$email_server.":110/pop3}".$folder,$name,$passwd);
and see if that helps.
-----Original Message-----
From: josephfinnie@another.com [mailto:josephfinnie@another.com]
Sent: Monday, November 19, 2001 8:00 PM
To: r'twick niceorgaw
Subject: RE: [PHP-WIN] Couldn't Open Stream Issues
ok - please excuse amateur coding :)
i can see the log file on the mail server getting a connection but then it
just crashes even after i increased the execute time-out to 120 seconds.
<?php
$email_server ="age0001";
$folder = "INBOX";
$name = "joef";
$passwd ="*****";
$mbox = imap_open("{".$email_server.":110}".$folder,$name,$passwd);
if (!$mbox) {
$errors=imap_errors();
for ( $i=0;$i<count($errors);$i++)
echo "$errors[$i]<BR>\n";
}
?>
anyway it gives this html message ...
Warning: Couldn't open stream {age0001:110}INBOX in d:\program files\apache
group\apache\htdocs\webmail\connect.php on line 7
Unexpected tagged response: +OK ARGOSOFT Mail Server Freeware, Version 1.70
(1.7.0.3)
[CLOSED] IMAP connection broken (server response)
maybe its the argo server ?
----------
Get a fun email address at http://another.com
COOL: Personalise a t-shirt with your name/email/slogan
from 9.99 pounds. CLICK HERE http://another-shop.com