Lotus Notes @Command execution Problem

Hi,

i have been facing one problem. I am using code on ‘PostOpen’ event to restrict access to my mail box to certain people.

Here is code:

mName := @LowerCase(@Name([CN];@UserName));

@If(mName = “abc”; @Success;@Command([FileCloseWindow]) )

Problem:

This code is working perfectly alright when had mail box template “StdR50Mail”, but i have updated to “StdR6Mail”.

Now code gives error msg “Can not execute the specified command” on FileCloseWindow formula.

Can any one tell me, why it is behaving like this. Is any body has lotus script code to restrict access (should be working on Mail template 6).

or any good solution?

Thanks in advance.

Imtiaz

Subject: Lotus Notes @Command execution Problem

Hi,

Why you don’t use ACL to prevent other people to open your mailbox?

Daniel

Subject: RE: Lotus Notes @Command execution Problem

Hi Daniel,

You can’t control Access through ACL when the database is on the local server(local drive) rather than on the server…

Subject: RE: Lotus Notes @Command execution Problem

Use the ‘Enforce consistent ACL’ setting in the advanced section of the ACL.

Tony

Subject: RE: Lotus Notes @Command execution Problem

Hi All,

Thanks for every body for helping me out. “Enforce consistent ACL” is working to restrict accesss to certain people.

I have one more problem, if any body can help me out…

when i compose memo in the backend using code and send, when mail arrives on the yahoo or hotmail account, it formatting gets disturbed. But when i send mail memo in UI (front end) like sending mail from your mail box, i receive the mail in the same format on the internet (yahoo or hotmail).

Note: i have set the MIME Setting and enabled richtext formatting etc in the code, but still facing problem when i compose mail in BACKEND.

Thanks.

Imtiaz

Subject: RE: Lotus Notes @Command execution Problem

Hi,

Yes you can.Lotus notes is one of the securest systems in the world.

Daniel