<?php
+
/**
** imap.php
+ ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This implements all functions that do general imap functions.
**
<?php
+
/**
** imap_mailbox.php
+ ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This impliments all functions that manipulate mailboxes
**
$read = sqimap_read_data($imap_stream, sqimap_session_id(), true, $response, $message);
if ($recent) {
for ($i=0; $i<count($read); $i++) {
- if (strpos(strtolower($read[$i]), "recent")) {
- $r = explode(" ", $read[$i]);
+ if (strpos(strtolower($read[$i]), 'recent')) {
+ $r = explode(' ', $read[$i]);
}
}
return $r[1];