How to obtain the number of unread mails from iNotes

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.