简体   繁体   English

如何使用Java访问Lotus Notes客户端的最新邮件

[英]How to access lotus notes client's recent mails using java

I have IBM notes client 9.0 . 我有IBM notes client 9.0 I need to access it's inbox and read and parse the mails and then send the automatic reply. 我需要访问它的收件箱 ,阅读并解析邮件,然后发送自动回复。

So, basically my program required to be a kind of listener to the mail box and when ever new mails comes it will parse it send the response . 因此,基本上,我的程序必须是一种对邮箱侦听器,并且每当收到新邮件时,它将解析它以发送响应 How to do it? 怎么做? I have kept Notes.jar in the class path. 我将Notes.jar保留在类路径中。

I surfed and did not get the enough examples.However I was able to do some stuffs like getting the platform name using NotesFactory . 我浏览并没有得到足够的示例。但是,我能够做一些事情,例如使用NotesFactory获得平台名称。 Any suggestions and links/documents to examples will be really helpful. 任何建议和示例的链接/文档都将非常有帮助。

You can set up an agent in the mailbox and specify the type as "Before new mail arrives". 您可以在邮箱中设置代理,并将类型指定为“新邮件到达之前”。 This will run as mail is received and let you reroute the mail or change any properties before it reaches the inbox. 这将在收到邮件时运行,并让您在邮件到达收件箱之前重新路由或更改任何属性。

http://www-01.ibm.com/support/docview.wss?uid=swg21097211 http://www-01.ibm.com/support/docview.wss?uid=swg21097211

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM