Imap Open

Discussion in 'PHP' started by sitestem, Jan 30, 2007.

  1. #1
    Hi all,

    I'm trying to set up a script to receive mail on my account. At the moment my imap open function looks like this:

    $MAILSERVER="{localhost/imap}";
    $link=imap_open($MAILSERVER, "username","pass");
    PHP:
    Although this does return emails, it's emails from the wrong account. When I put different username and password details that apply for another account, it just doesn't return anything. So, my question is how do I get to view these other email accounts? Is it related to the mailserver?

    Thanks,
    Mike
     
    sitestem, Jan 30, 2007 IP
  2. sitestem

    sitestem Well-Known Member

    Messages:
    117
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    138
    #2
    Anyone? :)
     
    sitestem, Jan 31, 2007 IP