Andy Burns wrote:
is it possible that the substr($this->decode_header((string)$headers->cc, TRUE), 0, 128) is returning "FALSE" instead of an empty string when cc: from header is blank? see the FALSE between the "tummy.com" and the date?
As a work-around I commented out the substr($this->decode_header((string)$headers->cc, TRUE), 0, 128) and replaced it with "" and that allowed roundcube to work without any errors, I expect it'll get confused on messages I receive as cc: though!