楼主把 业务模型\协同系统\个人事务\邮件库\邮件编辑窗体 DoGetInternalMailFrom; 这个方法改成
function TMailEditForm.DoGetInternalMailFrom: string;
var
lOperUserID, lOperUserDisplayName: string;
begin
Result := '';
if Assigned(OnGetOperUserInfo) then
OnGetOperUserInfo(Self, lOperUserID, lOperUserDisplayName);
Result := Format('"%s" <%s>', [lOperUserDisplayName, lOperUserID]);
end; |