FORMULA LANGUAGE


@MailDbName
Example

Returns the name of the Domino server and the name of the current user's mail database.

Syntax

@MailDbName

Return value

Server : path

Text list with two elements:


Usage

This function works in any formula except column formulas. When a formula runs on a server, the server is considered the current user, so @MailDbName returns the server's mailbox.

The returned value is formatted as a two-item text list specifying Server : Directory\Database.NSF, as in:


If the database is stored on the user's own computer, Notes/Domino returns the empty string for the server name. For example, user Debbie Lee may keep a local replica of her Mail database on her workstation; when she is set up for workstation-based mail, @MailDbName returns:
This is useful in applications that send mail; for example, you can use it to determine whether the current user is set up for server-based mail, and determine the appropriate course of action based on the result.

You cannot use this function in Web applications.

Language cross-reference

GetUserInfo method of LotusScript NotesRegistration class

getUserInfo method of Java Registration class

Example
See Also