Domino r8.x provides the notesview. getunreadentries () method to obtainSpecified userThe number of unread emails, but sometimes this method is not accurate. You can use the following method to obtainCurrent UserUnread email data.
URL:
Http ://Localhost: Port/Mailpath/INotes/Proxy /? OpenDocument & form = s_readviewentries & PresetFields = Foldername; ($ inbox), unreadcountinfo; 1 & START = 1 & COUNT = 0
XML returned:
Show Source
1
<?
XML
Version
=
"1.0"
Encoding
=
UTF-8"
?>
2
<
Readviewentries
>
3
<
Viewentries
Timestamp
=
"20151116t053034, 85z"
Toplevelentries
=
"4"
> </
Viewentries
>
4
<
Unreadinfo
>
5
<
Foldername
> ($ Inbox) </
Foldername
>
6
<
Strong
> <
Em
> <
Unreadcount
> 2 </
Unreadcount
> </
Em
> </
Strong
>
7
</
Unreadinfo
>
8
</
Readviewentries
>
In this method, only the number of unread mails of the current user can be obtained. For example, user B has 10 emails, of which the number of unread mails is 5. If user a is used to read, the number of unread mails that user a has in user B's mailbox is obtained.