当前位置:编程学习 > 网站相关 >>

java使用diiop连接lotus domino收邮件问题

收邮件后如何判断邮件是已读还是未读?
我使用这个方法:DocumentCollection docs = dbMail.getAllUnreadDocuments();
报这个异常:NotesException: Not implemented
哪位大侠知道这是什么原因?或者还有什么其他办法判断已读未读? --------------------编程问答-------------------- 自己定义一个字段,去读取文档中这个字段的值,不就行了。 --------------------编程问答-------------------- 如果domino是8及以上的版本可以用Set notesViewEntryCollection = notesView.GetAllUnreadEntries( [username] )试试,notesView就是邮箱中的inbox文件夹(收件箱) --------------------编程问答-------------------- 能告诉我,你的那个

数据库连接是怎么写滴按。。。 --------------------编程问答-------------------- Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim vc As NotesViewEntryCollection
Set db = session.CurrentDatabase
Set view = db.GetView("($Inbox)")
Set vc = view.GetAllUnreadEntries()
--------------------编程问答-------------------- NotesException: Not implemented 这个错误有可能由于你的环境不支持引起的,你可能用了一个Notes.jar/NCSO.jar不支持getAllUnreadEntries
补充:企业软件 ,  Lotus
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,