ID:               41149
 Updated by:       [EMAIL PROTECTED]
 Reported By:      info at xboot dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         Sockets related
 Operating System: Windows 2003
 PHP Version:      5.2.1
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------

[2007-04-20 12:36:15] info at xboot dot de

Description:
------------
Retrieving e-mails from a Lotus Notes server by streams (pop3) doesn't
work. If i use the php imap-function instead it works. So it must be a
problem concerning streams. I also tried Zend_Mail_Storage_Pop3 from
Zend framework 0.9.1 and it doesn't work too.

Windows 2003
LotusNotes 6.5.5FP1 (another machine in the same network)
Php 5.2.1 and php 5.2.2RC1

Reproduce code:
---------------
<?php

$host = '16.36.4.70';
$port = '110';
$user = 'username';
$pass = 'password';

$socket = fsockopen($host, $port);
if (!$socket) {
    die('cannot connect to host');
}

$welcome = fgets($socket);
if (!is_string($welcome)) {
    die('connection failed');
}
echo "<h1>$welcome</h1>";

$request = fputs($socket, "USER $user\n");
echo $request . '<br />';

// seems here is the problem
$result  = fgets($socket);
echo $result;

fclose($socket);

?>

Expected result:
----------------
+OK Lotus Notes POP3 server version X2.0 ready. 
14
+OK username, your papers please

Actual result:
--------------
+OK Lotus Notes POP3 server version X2.0 ready. 
14
Fatal error: Maximum execution time of 60 seconds exceeded in
D:\fsockopen_pop3.php on line 23


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41149&edit=1

Reply via email to