Search code examples
lotus-noteslotusscriptlotus

Lotus Notes - get mail database of current user


Is there a way in Lotus Notes (using either @Formula or LotusScript) to get the mail file path of the current user?


Solution

  •  Dim maildb As New NotesDatabase("", "")
     Call maildb.OpenMail
    

    gives you the mail database of current user.

    maildb.FilePath returns the file path.