0

Hi

I need some help with the following problem:

This is the source code:

<html>
<body>

<?php

//Retreiving mail messages from mail server
$server = 'localhost';
$port = 110;
$mail = imap_open("\{$server:$port/pop3}INBOX", 'admin', 'password');

?>
</body>
</html>

This is the error message (exception):
Warning: imap_open() [function.imap-open]: Couldn't open stream \{localhost:110/pop3}INBOX in C:\Program Files\xampp\htdocs\MailWebApp\index.php on line 34

What I do know:

  1. PHP is working
  2. Port 25 is working (tested it with telnet localhost 25)
  3. Port 110 is not working. It was tested with telnet localhost 110 in the Command Prompt and the following error message was reported:

-ERR Your connection is temporarily blacklisted - try again later
Connection to host lost.

Anyone knows what this error message means?

Thanks

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by Hugo Brand
0

Ok. Very strange error message.

I waited a while and tried to connect using telnet localhost 110 again and for some reason it connected.

Not sure why this happened, maybe the server was busy with the port while I was trying to connect to the port.

... :?:

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.