Thread: Php imap flags

    #1
  1. Plays with fire
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2003
    Location
    Barsoom
    Posts
    941
    Rep Power
    96

    Php imap flags


    is there a way to see the flags with imap? Looking at the docs, imap_headers says it should, but mine all return empty even when they're not.

    I'm specifically looking for [answered], but others would be nice.

    is this a bug?
    “Be ashamed to die until you have won some victory for humanity.” -- Horace Mann

    "...all men are created equal." -- US Declaration of Independence
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 2003
    Posts
    3,232
    Rep Power
    593
    I think you want imap_headerinfo instead.
    There are 10 kinds of people in the world. Those that understand binary and those that don't.
  4. #3
  5. Plays with fire
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2003
    Location
    Barsoom
    Posts
    941
    Rep Power
    96
    Tried that too and nothing. Tried imap_search and it returns nothing when I look for "ANSWERED".

    imap_fetch_overview returns 0 for all messages, when I know they've been replied to.

    SquirrelMail is primarily the client I use. Is it possible it's not setting the flags correctly?
    Last edited by Frank Grimes; February 27th, 2013 at 03:02 PM.
    “Be ashamed to die until you have won some victory for humanity.” -- Horace Mann

    "...all men are created equal." -- US Declaration of Independence
  6. #4
  7. Plays with fire
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2003
    Location
    Barsoom
    Posts
    941
    Rep Power
    96
    crap. I was connecting with pop3. Switching to imap worked fine.
    “Be ashamed to die until you have won some victory for humanity.” -- Horace Mann

    "...all men are created equal." -- US Declaration of Independence

IMN logo majestic logo threadwatch logo seochat tools logo