业务模型\协同系统\个人事务\邮件库\邮件
procedure TMailCenterForm.MovePath(const AFolderID, ASrcFolderID, ADesFolderID: string);
if FindTreeListNodeByTreeNode(lNode) <> nil then//增加这个判断就可以了
FindTreeListNodeByTreeNode(lNode).MoveTo(FindTreeListNodeByTreeNode(lDesNode),
TTreeListNodeAttachMode.natlAddChild);
或者
修改 业务模型\协同系统\个人事务\邮件库\邮件
procedure TMailCenterForm.actAllSRMailExecute(Sender: TObject);
begin
sbMain.Panels[2].Text := '正在收发邮件...';
if FCanReceive = True then
ShowSendReceiveForm
else
begin
JSDialogs.ShowWarning('邮箱已满,请删除邮件再点接收','错误');
Exit;
end;
MailSystem.BeforeStartMailExchange;
StartReceiveMail;
SendMail;
MailSystem.StartMailExchange(True, True);
ReloadMailBox; //增加这句代码
end;
肯定有问题! |