git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12804
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Added SquirrelMail debug mode.
- Handle PHP's insistence on setting the value to 'deleted' for destroyed sessions
(#1829098).
+ - Some IMAP servers send nil for an empty email body (See RFC2180,
+ section 4.1.3 on empty strings).
+
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
// }
} else if (ereg('"([^"]*)"', $topline, $regs)) {
$ret = $regs[1];
+ } else if ((stristr($topline, 'nil') !== false) && (empty($wholemessage))) {
+ $ret = $wholemessage;
} else {
global $where, $what, $mailbox, $passed_id, $startMessage;
$par = 'mailbox=' . urlencode($mailbox) . '&passed_id=' . $passed_id;