There's a bug in imap_open function in php 5.2.1 for windows. I tried also the latest cvs snapshot of php but stil the error continues.....
The error i get is this in vbms logs
Code:
PHP error: imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream \{mail.corollaclub.com:110/pop3}INBOX (C:\Domains\corollaclub.com\wwwroot\forums\vbms_checkmail.php:95)
I did a search and spoted that the problem is the string that grabs the servername variable ...
Read This from
http://gr2.php.net/imap_open
Code:
danwatts at gmNOSPAMail dot com
12-Feb-2007 06:39
Be careful about how you specify the string
(at least on PHP5). It looks like you need to
break out of the "string" if you specify the
server name within a variable.
<?php
//DOES NOT WORK:
imap_open("{$server:143/novalidate-cert}".
$mailbox,$username,$password)
//DOES WORK:
imap_open("{".$server.":143/novalidate-cert}".
$mailbox,$username,$password)
//ALSO WORKS:
imap_open("{imap.servername.com:143/novalidate-cert}".
$mailbox,$username,$password)
?>
Im not 100% sure .. i tried to hardcode the vbms_checkmail file not to grab the server info from the variable but im not code guru
By the way in php 4.4.x works fine ... and php.net said that had fixed it in the latest snapshot thats why i tried it but it was unsuccesfull
I dont know what to do cause yesterday i was with php 4.4.1 with Apc caching and today i changed to 5.2.1 with Xcache and the forum is better as matter the speed and server load, so i dont really want to go back to 4.4.1 and i loved VBMS...
Any help will gratefull.
P.S. Mails sent ok from vbms only receiving gives error atm