将用户添加到警报时禁用邮件警报

编程入门 行业动态 更新时间:2024-10-21 09:16:20
本文介绍了将用户添加到警报时禁用邮件警报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你好,

I 要禁用添加用户时出现的电子邮件警报.

当我们在列表警报中注册所有人"时,是AD的所有人都收到邮件还是没有人收到? 还是我们可以采用其他解决方案来不接收第一封邮件?广告 小组? 这是一个问题/答案列表. 业务管理员希望能够为3000个用户创建警报,但仅当元素包含警报时,警报才会发送到用户的问题已修改...这就是为什么我们不希望3 000 接收警报通知! 此外,如果将所有人通知,它将为130,000个ADAzure帐户创建130,000个警报?

When we register "Everyone"on the list alert, is that all the people of the AD receive the mail or nobody?Or is that we can have another solution to not receive the first mail ? AD Group ? This is for a question / answer list.The business administrator wants to be able to create an alert for 3 000 users but the alert is sent to user's question only when a element ismodified ... That is why we do not want the 3000 receive notification of the alert!In addition if it puts everyone it will create 130,000 alerts for the 130,000 ADAzure accounts?

最好的问候,

推荐答案

您好,sev75,

所有人"组包括已通过SharePoint身份验证的所有用户.如果您向所有人发送警报,则在 列表/项目.

The Everyone group includes all users authenticated to SharePoint. If you send alerts to Everyone, all authenticated users will get the alert emails when the changes are made in the list/item.

您是什么意思接收警报通知"和第一封邮件"?

如果您是指警报确认电子邮件"Alert< list/item>已成功在< site>……上添加",用于通知用户已设置了警报 他,我们可以使用代码来设置警报,并使用 SPAlert.Update 方法来控制是否发送确认电子邮件.

If you mean the alert confirmation email "Alert <list/item> has successfully been added on <site>……" which is used to notify user that there is an alert has been setup for him, we can use code to setup alerts, and use SPAlert.Update method to control whether it sends a confirmation e-mail message or not.

此处是有关如何使用PowerShell设置警报而不发送确认电子邮件的演示:

Add-PSSnapin microsoft.sharepoint.powershell

SPsite = Get-SPSite"sp/sites/< site>"

SPweb =

更多推荐

将用户添加到警报时禁用邮件警报

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

发布评论

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

>www.elefans.com

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