cancel
Showing results for 
Search instead for 
Did you mean: 

how to read unread mail count from Domino in Portal

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This will work only when using iNotes as mail template.

Former Member
0 Kudos

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

Former Member
0 Kudos

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&PresetF...

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&PresetF...