Results 1 to 5 of 5

Thread: [SOLVED] imap_open to access a mailbox from php

  1. #1
    papango is offline Intermediate Member
    Join Date
    Mar 2008
    Posts
    21
    Rep Power
    7

    Default [SOLVED] imap_open to access a mailbox from php

    hello

    i would like to use this small script to fetch a mail box but it fails:

    PHP Code:
    $server "{myzimbraserver.mydomain.com}:143/imap}";
    $login "mylogin";
    $pass "mypass";
    imap_open($server,$login,$pass); 
    the error is

    Couldn't open stream {myzimbraserver.mydomain.com}:143/imap}

    also tried

    {myzimbraserver.mydomain.com}:110/pop}/inbox or
    {myzimbraserver.mydomain.com}:143/imap}/inbox

    but none does work !

  2. #2
    papango is offline Intermediate Member
    Join Date
    Mar 2008
    Posts
    21
    Rep Power
    7

    Default

    solved.

    I used {mydomain.com:995/pop3/ssl/novalidate-cert}
    Last edited by papango; 04-07-2008 at 09:25 AM.

  3. #3
    egrueda is offline Active Member
    Join Date
    Sep 2007
    Posts
    30
    Rep Power
    7

    Default

    Thanks! That was exactly my problem and now I have it working
    Cheers

  4. #4
    vkwins is offline Starter Member
    Join Date
    Jan 2013
    Posts
    1
    Rep Power
    2

    Default

    Can u please tell me how to get sent item and other folder emails as above mentioned example work well for Inbox only

  5. #5
    krkrai is offline Starter Member
    Join Date
    Feb 2013
    Posts
    1
    Rep Power
    2

    Default

    Quote Originally Posted by papango View Post
    solved.

    I used {mydomain.com:995/pop3/ssl/novalidate-cert}
    Thanks you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 210
    Last Post: 01-17-2012, 01:19 AM
  2. server dropped connection
    By ferra in forum Installation
    Replies: 20
    Last Post: 10-06-2008, 04:32 PM
  3. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM
  4. giving access to others to a mailbox
    By mannes in forum Administrators
    Replies: 2
    Last Post: 11-13-2007, 09:27 AM
  5. Question: Limit access to a mailbox
    By leog21 in forum Administrators
    Replies: 0
    Last Post: 10-01-2007, 02:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •