|
12: if Assigned(lFolderObject) and (lFolderObject.Kind = mtSent) then
{ begin
with TSendedMailState.Create(lMailRef.MailGUID) do
if State <> '' then
AItem.Strings[I] := State
else
AItem.Strings[I] := StrUtils.IfThen(((lMailRef.State and msReaded) <> msReaded), '未读', '已读');
end
else } // 邮件性能问题,注释上面代码
AItem.Strings[I] := StrUtils.IfThen(((lMailRef.State and msReaded) <> msReaded), '未读', '已读');
查看已发送邮件的阅读状态都是“已读”,是不是提升性能就无法正常查看邮件的阅读状态? 如下图:
|
|