Hi,
 I have this random error massage that comes up when I click on a message in
webmail.

ERROR Yeah I know, not a very usefull error message (id = 9, mailbox = INBOX
sqimap_get_message)

This is the code for this function, but I can't find a problem with it.



function sqimap_get_message ($imap_stream, $id, $mailbox) {
    global $uid_support;

    $flags = array();
    $read = sqimap_run_command ($imap_stream, "FETCH $id (FLAGS
BODYSTRUCTURE)", true, $response, $message, $uid_support);
    if ($read) {
    if (preg_match('/.+FLAGS\s\((.*)\)\s/AUi',$read[0],$regs)) {
       if (trim($regs[1])) {
          $flags = preg_split('/ /', $regs[1],-1,'PREG_SPLIT_NI_EMPTY');
       }
    }
    } else {
      echo "ERROR Yeah I know, not a very usefull errormessage (id = $id,
mailbox = $mailbox sqimap_get_message)";
      exit;

Can anyone help me with this?

PaulD



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to