The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Accessing IMAP server from PHP fails

Discussion in 'General Discussion' started by orangechicken, Apr 24, 2003.

  1. orangechicken

    orangechicken Member

    Joined:
    Dec 4, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to access the darkorb server from a PHP page (via imap_open).

    It fails every time (I believe it causes a network error - lynx says something about that and the ISA Proxy at work here says 64 - Host not available).

    I'm using the test.php from IMP 3.2.

    I've tried connecting via SSL (and in fact, that worked for about 14 hours and then mysteriously stopped) with /imap/ssl/novalidate-cert (because of a self-signed cert).

    Right now I'm just trying {localhost/pop3:110}INBOX and it fails the same way.

    The admins are fighting me saying they can't fix the issue.

    Horde from inside CPanel (over port 2082) connects via imap_open just fine, nothing on port 80 does.

    Help!!
     
  2. orangechicken

    orangechicken Member

    Joined:
    Dec 4, 2002
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Can anybody provide any input? I'm *real* desperate.

    -chicken
     
  3. CoolMike

    CoolMike Well-Known Member

    Joined:
    Sep 6, 2001
    Messages:
    307
    Likes Received:
    0
    Trophy Points:
    16
    Have you found a solution? We have exactly the same problem since a few days...

    Thanks
    Mike
     
  4. vijaykumar

    vijaykumar Registered

    Joined:
    Jul 17, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Imap

    Hi,

    Trying using
    // To connect to a POP3 server on port 110 on the local server, use:
    $mbox = imap_open ("{localhost:110/pop3}INBOX", "user_id", "password");


    // To connect to an SSL IMAP or POP3 server with a self-signed certificate,
    // add /ssl/novalidate-cert after the protocol specification:
    $mbox = imap_open ("{localhost:995/pop3/ssl/novalidate-cert}", "user_id", "password");

    Regards,
    Vijay

     
Loading...

Share This Page