阅读:2607
回复:2
|
邮件发送
最近有根据不同的审批节点发送不同的邮件的需求。想问下,邮件发送的接口在哪的。顺便问下有没有这方面的解决方案。
|
1楼#
发布于:2017-12-05 14:30
var workitemid = "06b602f2-f169-40f6-a183-c18154b5f175";
var workitem = OThinker.H3.Controllers.AppUtility.Engine.WorkItemManager.GetWorkItem(workitemid); OThinker.H3.Notification.Notification[] notes = new OThinker.H3.Notification.Notification[]{ new OThinker.H3.Notification.Notification( OThinker.H3.Notification.NotifyType.Email, null, "fa3ea1fc-e366-45b0-9581-ff162353f735", null, workitem.WorkflowCode, workitem.WorkflowVersion, workitem.InstanceId, "您有新的待办任务!", workitem.DisplayName, workitem.WorkItemID) }; OThinker.H3.Controllers.AppUtility.Engine.Notifier.Send(notes); |
|
2楼#
发布于:2017-12-05 18:49
|
|