Haw the function @MailDbName works?
Haw the function @MailDbName works?
(OP)
I'd like to know if someone has ever used the function @MailDbName in a web site.
My problem is quite simple: I know the name of the user, and with this data I'd like to discover the name of his mail file in my Domino Server?
I tried with the @MailDbName function with no result. It gives me the name of the web-database and not the name of the user's mail database.
Thanks
My problem is quite simple: I know the name of the user, and with this data I'd like to discover the name of his mail file in my Domino Server?
I tried with the @MailDbName function with no result. It gives me the name of the web-database and not the name of the user's mail database.
Thanks
RE: Haw the function @MailDbName works?
I think you will find that a better way to get the mail file name is to do a dblookup in the $People view of the server NAB. The field you are looking for is called MailFile.
Of course, you will need to construct the user name correctly to use as search key.
Pascal.