作者 邓超

1

... ... @@ -120,6 +120,7 @@ class listsSql {
'folder_id' => db()->value(folderSql::first(['folder'=>'草稿箱','email_id'=>$email['id']],'`id`')),
'email_id' => $email['id'],
'is_file' => $data['attachment'] ? 1 : 0, //是否附件
'description' => mb_substr(strip_tags($data['body']),0,150), //是否附件
];
$draftData['to'] = $data['tos'][0]['email'];
$draftData['to_name'] = $data['tos'];
... ...