[紧急]事件接收者电子邮件触发器 [英] [URGENT] Event receiver email trigger
问题描述
请帮助以下详细信息
Scenario details:触发列表状态为"尚未审核"的电子邮件3天内未被更改
(如果状态未进一步更改为7天和21天,则触发向撰稿人组和cc审批组发送电子邮件),如果状态更改为已批准,则应停止电子邮件触发器
示例
List Name Test
姓名 状态
AA 尚未审核
BB 已审核
CC 已批准
DD 拒绝
Blitz
$
如果状态字段发生变化,您需要创建一个新列"StatusModifyDate"来存储日期。
并创建事件接收器,检查状态值是否为"尚未审核"和(今天 - StatusModifyDate> 3),然后使用 SPUtility.SendEmail方法或SmtpClient发送电子邮件。
以下文章供您参考。
http://techiescode.blogspot.com/2013/ 10 / send-email-from-sharepoint-event.html
最佳此致,
Kindly help with the below details
Scenario details: Trigger an email where the list status is "not yet reviewed" has not been altered for 3 days (to be trigger email to contributor group and cc approvers group, if status not altered further 7 days and 21 days) and if the status is changed to approved then email trigger should be stopped
Example
List Name Test
Name status
AA Not yet reviewed
BB under Reviewed
CC Approved
DD Rejected
Blitz
Hi,
You need create a new column "StatusModifyDate" to store the date if the status field change.
And create event receiver, check if the status value is "Not yet reviewed" and (Today-StatusModifyDate>3), then send email using SPUtility.SendEmail method or SmtpClient.
The following article for your reference.
http://techiescode.blogspot.com/2013/10/send-email-from-sharepoint-event.html
Best Regards,
这篇关于[紧急]事件接收者电子邮件触发器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!