#33464 [Opn->Fbk]: imap_open(...) error relate with http://bugs.php.net/bug.php?id=33457
| From: | tony2001@php.net | Date: | Fri, 24 Jun 2005 10:45:52 +0000 |
| Subject: | #33464 [Opn->Fbk]: imap_open(...) error relate with http://bugs.php.net/bug.php?id=33457 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-80962@lists.php.net to get a copy of this message | ||
ID: 33464
Updated by: tony2001@php.net
Reported By: unnevermind at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: IMAP related
Operating System: Windows XP Pro SP2
PHP Version: 5.0.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
>I couldn't add a comment
Don't add comments, you're the author of the report, *edit* it.
Previous Comments:
------------------------------------------------------------------------
[2005-06-24 12:43:23] unnevermind at gmail dot com
Description:
------------
I couldn't add a comment for http://bugs.php.net/bug.php?id=33457
OK, I uninstalled Zend Optimizer but, I got the same result.
Actualy, I'm making my personal webmail that working with Argo Mail
Server Pro With Imap v 1.8.8.1 . Sometime I need to connect by using
COM Object....
-------------------------------
<?
$imap=imap_open("{localhost:143/imap}INBOX","xxx@local.com","xxxxx");
//do something else
imap_close($imap)
try{
$com=new COM("MailServerX.Users");
$com->Delete("xxx@local.com");
unset($com);
}catch(Exception $e){
echo $e->getMessage();
}
?>
I got an error...
Source: MailServerX.Users
Description: System Error. Code: 32. The process cannot access the file
because it is being used by another process
That seem the folder 'xxx' is locked or in used.
-------------------------------
-------------------------------
<?
try{
$com=new COM("MailServerX.Users");
$com->Delete("xxx@local.com");
unset($com);
}catch(Exception $e){
echo $e->getMessage();
}
?>
But only this code working right. Everything OK but,my script often use
the IMAP functions.
-------------------------------
-------------------------------
<?
$imap=imap_open("{localhost:143/imap}INBOX","xxx@local.com","xxxxx",OP_PROTOTYPE);
//$info=imap_mailboxmsginfo($imap);
imap_close($imap)
try{
$com=new COM("MailServerX.Users");
$com->Delete("xxx@local.com");
unset($com);
}catch(Exception $e){
echo $e->getMessage();
}
?>
Then I tried to resolve this problem by put the last argument (actualy
I don't know at all of this parameter, just try). I put OP_PROTOTYPE
,yes it seems to work but, if I uncomment at line -->
$info=imap_mailboxmsginfo($imap); I got an error...
PHP has encountered an Access Violation at 010158CC
That means I can not use other IMAP functions.
-------------------------------
I'm not sure is that a php's bug?, maybe Argo's bug...just really need
help.
Thank you and sorry for my Enlish.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33464&edit=1