Skip to Content
author's profile photo Former Member
Former Member

how to read unread mail count from Domino in Portal

Hi.

We are going to create an iview that read unread mail count from Domino in SAP EP but I don't know how to this ?

Anybody know how to this ?

Regard, Arnold.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2005 at 04:42 PM

    Although the unread attribute is documented in the Lotus Domino Designer help file for the viewentry element,it is not available when using ReadviewEntries to access view data in XML format.

    The only way I've found to expose unread information of databases,views & documents was using C API functions in a LotusScript Agent.

    But pay attention to the disadvantages/limits of usings web agents.

    You may use the code published by Julian Robichaux

    (http://www.nsftools.com/tips/NotesTips.htm#unreaddocs)

    for an inspiration.

    Kind Regards

    Christian Henseler

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      The unread attribute is available, but only if you use special urls. Try to use the following URL:

      http://<myserver>/<dbpath>/<my_inotes.nsf>/iNotes/Proxy/?OpenDocument&Form=s_ReadViewEntries&PresetFields=FolderName;($Inbox)

      This will return an XML response containing fragments like:

      <viewentry position="1" unid="D7C9D9FC91916894C12570C0006FA609" noteid="932" siblings="7" <b>unread="true"</b>>

      You can use the unread attributes in your code.

      If you only want to see unread items, use:

      http://<myserver>/<dbpath>/<my_inotes.nsf>/iNotes/Proxy/?OpenDocument&Form=s_ReadViewEntries&PresetFields=FolderName;($Inbox),UnreadOnly;1

  • author's profile photo Former Member
    Former Member
    Posted on Nov 27, 2005 at 08:01 PM

    This will work only when using iNotes as mail template.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.