...
|
...
|
@@ -236,11 +236,11 @@ class Mail { |
|
|
'message_id' => $header['Message-ID']??'',
|
|
|
'udate' => strtotime($result['INTERNALDATE']),
|
|
|
'size' => $result['RFC822.SIZE']??0,
|
|
|
'recent' => in_array('recent',$result['FLAGS']),
|
|
|
'seen' => in_array('seen',$result['FLAGS']),
|
|
|
'draft' => in_array('draft',$result['FLAGS']),
|
|
|
'flagged' => in_array('flagged',$result['FLAGS']),
|
|
|
'answered' => in_array('answered',$result['FLAGS']),
|
|
|
'recent' => in_array('recent',$result['FLAGS']) ? 1 : 0,
|
|
|
'seen' => in_array('seen',$result['FLAGS']) ? 1 : 0,
|
|
|
'draft' => in_array('draft',$result['FLAGS']) ? 1 : 0,
|
|
|
'flagged' => in_array('flagged',$result['FLAGS']) ? 1 : 0,
|
|
|
'answered' => in_array('answered',$result['FLAGS']) ? 1 : 0,
|
|
|
'folder_id' => $folder_id,
|
|
|
'email_id' => $email_id,
|
|
|
'uuid' => md5($email_id.$folder_id.$result['UID']),
|
...
|
...
|
|