简体   繁体   English

使用Java在IBM Lotus Notes中创建和预览新消息

[英]create and preview new message in IBM lotus notes using java

In my web application created with spring mvc, I am having a feature like, i am having a page with a message and a send hyperlink, on clicking the send link it should open a ibm lotus notes new message window, with the message copied along with to, cc, subject details dynamically like as shown in the picture. 在用spring mvc创建的Web应用程序中,我有一个功能,例如,我有一个带有消息和发送超链接的页面,单击发送链接后,它应该打开一个ibm Lotus Notes新消息窗口,消息随如图所示,具有to,cc,主题详细信息。

Note: The lotus notes will be always running and logined within all the client systems. 注意: Lotus Notes将始终在所有客户端系统中运行并登录。

I have tried to achieve this first by using mailto: HTML e-mail link feature, but got worked only in chrome and firefox, in IE it failed 我曾尝试通过使用mailto:HTML电子邮件链接功能来实现这一目标,但是只能在chrome和firefox中使用,在IE中失败了

Is there any way to achieve this by using java 有没有办法通过使用Java来实现这一目标

My code is as given below 我的代码如下

JSfiddle 的jsfiddle

html HTML

<div ng-app='myApp' ng-controller="Controller"> 
    <b>Message :</b> {{message}}
    <br>
    <a href="mailto:manu?cc=jacob&amp;subject=Test%20Mail&amp;body={{message}}">Send</a>
</div>

script 脚本

var app = angular.module('myApp', []);
app.controller('Controller', function ($scope) {
    $scope.message = 'sample sample sample test message';
});

Main Page Screen 主页画面

在此处输入图片说明

Lotus notes new message when clicking the send hyperlink 单击发送超链接时,Lotus记录新消息

在此处输入图片说明

I would never build a web application that in any way relies on specific client software being installed and/or running locally. 我绝不会构建一个以任何方式依赖于本地安装和/或运行的特定客户端软件的Web应用程序。 What I would do is to either make a call to iNotes in the browser, or simply create a mail form on the web where the user fill out the recipients and write the message. 我要做的是要么在浏览器中调用iNotes,要么简单地在Web上创建一个邮件表单,用户在其中填写收件人并编写消息。 That page upon submission would call a Lotusscript, Java or XPages agent on the server that will create the actual email and send it. 提交后的页面将在服务器上调用Lotusscript,Java或XPages代理,该代理将创建实际的电子邮件并将其发送。

I have a class for creating mail notification, you can use that as a starting point if you like. 我有一个用于创建邮件通知的类,您可以根据需要将其用作起点。

http://blog.texasswede.com/lotusscript-mail-notification-class/ http://blog.texasswede.com/lotusscript-mail-notification-class/

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

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