When trying to retrieve mail from the the administrator interface, the following error is returned.

warning: imap_open(): Couldn't open stream {mysite.com:110/pop3}INBOX in /mysite/modules/mailhandler/mailhandler.module on line 17.

Any ideas?
Is this a configuration problem?

I know the POP settings, username etc are working.

Regards
Alan

Comments

gerhard killesreiter’s picture

yes, config problem. You may need to add notls or similar.

gerhard killesreiter’s picture

yes, config problem. You may need to add notls or similar.

alanburke’s picture

Gerhard
Thanks for the Reply?

What do you mean by

notls or similar

robclay’s picture

I had the same problem... add "/notls" (without the quotes) to the mail box Extra Commands. See if that helps.

silurius’s picture

When I activated Mailhandler's retrieve function, I got this error:

Fatal error: Call to undefined function: imap_open() in /home/path/myuser/examplesite.com/drupalpath/modules/mailhandler/mailhandler.module on line 17

Line 17 & 18 of that module:

    $result = imap_open($box, $mailbox["name"], $mailbox["pass"]);
    $err = "domain";

Tried both /notls and /novalidate-cert to no avail.

moshe weitzman’s picture

Status: Active » Closed (fixed)

you don't have php imap extension loaded. see the requirements in the README