简体   繁体   中英

How to access other person's mailbox ( for eg. Group mailbox) using Interop.Domino

We are successfully able to download an attachment from the particular mail in Lotus Notes using Interop.Domino for the logged in user.

But we are trying to access other person's mailbox( eg. group mailbox) from the user who is logged in. User has access to other person's mailbox.

In above case, we have MailServer and MailFile name but not sure how to use it without having the ID file.

Any pointers would be really helpful. Thanks in advance.

You don't need to change the user ID if the current user ID has access to the other mailboxes. You can check this in Notes Client in the database's Access Control List. You get connected with a (mail-)database with

NotesSession.GetDatabase( "MailServer", "MailFile.nsf", false ) 

In general: with the Notes user ID you log in you get access to all databases and servers in Notes/Domino with the permissions set for this ID in Domino Directory or database's Access Control Lists.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM