View Full Version : Mysql or pop


dasmon777
12-16-2005, 02:46 AM
I am also getting the following error - but I am confused

Warning: imap_open(): Couldn't open stream {localhost:110/pop3} in /home/sites/dyslexia-east-kent.org.uk/public_html/deks/components/com_mambo_mail/parse_mail.php on line 63

Warning: imap_num_msg(): supplied argument is not a valid imap resource in /home/sites/dyslexia-east-kent.org.uk/public_html/deks/components/com_mambo_mail/parse_mail.php on line 65

The mail server I use is a mail.deks.com address, yet the parameters seem to be designed for a mysql address i.e. localhost, dbname etc.


Am I supposed to be inputting mysql information or mail server information? :banghead:

Jafo
12-16-2005, 09:58 AM
As per the readme file:

If you get this error:

imap_open(): Couldn't open stream

Then first, check and make sure your POP settings are correct. Once you are POSITIVE these are correct, try changing a line in the file located in components/com_mambo_mail/parse_mail.php:

#If you get Warning: imap_open(): Couldn't open stream errors, uncomment this next line
#AND comment the line right after it.
#$mail = imap_open('{'.$popserver.':'. $port . '/pop3/tls/novalidate-cert}', $popuser, $poppass);
$mail = imap_open('{'.$popserver.':'. $port . '/pop3}', $popuser, $poppass);

So as to comment out the last line and uncomment the second to last line.

dasmon777
12-17-2005, 10:45 AM
Done that, tried that?

Jafo
12-17-2005, 11:33 PM
If you get the same error, then there is either no POP server at localhost, or your server is not resolving localhost.