Alfresco 日历事件的电子邮件通知

编程入门 行业动态 更新时间:2024-10-25 04:24:30
本文介绍了Alfresco 日历事件的电子邮件通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用的是 Alfresco 4.0如果创建了日历活动,我需要向选定的成员或所有成员发送电子邮件通知.

I'm using Alfresco 4.0 I need to send email notification to selected members or all the members if a calendar event is created.

我是新手.

请帮助我,因为我在截止日期前.

Kindly help me, as I'm on a deadline.

推荐答案

您可以在Sites/yoursite/calendar"文件夹上设置一个简单的规则,该文件夹执行发送电子邮件的 javascript 脚本.

You can set a simple rule on "Sites/yoursite/calendar" folder that executes a javascript script which sends the email.

如果您需要更复杂的东西,那么您可以使用 alfresco 的onCreateNode"策略并将其绑定到ia:calendarEvent"类型.

If you need something more complicated then you can use alfresco's "onCreateNode" policy and bind it to "ia:calendarEvent" type.

从我的头顶是这样的:

... this.onCreateNode = new JavaBehaviour(this, "onCreateNode", NotificationFrequency.TRANSACTION_COMMIT); this.policyComponent.bindClassBehaviour(QName.createQName( NamespaceService.ALFRESCO_URI, "onCreateNode"), "ia:calendarEvent", this.onCreateNode); ... ... ... public void onCreateNode(ChildAssociationRef childAssocRef) { //send email here }

更多推荐

Alfresco 日历事件的电子邮件通知

本文发布于:2023-11-28 09:40:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1641883.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:电子邮件   日历   事件   通知   Alfresco

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!