Sharepoint server2019 通讯组(安全组)发送邮件问题

首先上官方链接:

https://docs.microsoft.com/zh-cn/sharepoint/administration/outgoing-email-configuration?tabs=CA2019farm%2C2019farm%2CCASEweb%2C2019web

原因是 组的话默认不能发送匿名邮件

方法1 .给需要发送的组修改属性,但这个方式不是很推荐,因为组一旦很多而且会有安全风险

Get-DistributionGroup "Group Name"|Select-Object  RequireSenderAuthenticationEnabled

Get-DistributionGroup "Group Name" | Set-DistributionGroup -RequireSenderAuthenticationEnabled:$false

 

方法2. 通过创建stmp服务来满足 匿名发送

这个方式原理就是 利用邮件中继的思路,如果是非exchange邮件系统的第三方邮件系统建议这么处理

 

 

 

 

方法3 比较推荐

这个地方其实页面上配置 会发现还是发不出去,他这个是利用windows身份认证的机制,在Sharepoint的 powershell里执行命令即可

复制代码
$CentralAdmin = Get-SPWebApplication -IncludeCentralAdministration | ? { $_.IsAdministrationWebApplication -eq $true }

$SmtpServer = "mail.example.com"
$SmtpServerPort = 587
$FromAddress = "user@example.com"
$ReplyToAddress = "replyto@example.com"
$Credentials = Get-Credential    //此处会弹出一个框,输入邮箱UPN名或 domain\ad 密码即可

Set-SPWebApplication -Identity $CentralAdmin -SMTPServer $SmtpServer -SMTPServerPort $SmtpServerPort -OutgoingEmailAddress $FromAddress -ReplyToEmailAddress $ReplyToAddress -SMTPCredentials $Credentials
复制代码

 

 

SharePoint证书校验问题

A certificate validation operation took 30031.6826 milliseconds and has exceeded the execution time threshold.  If this continues to occur, it may represent a configuration issue.  Please see http://go.microsoft.com/fwlink/?LinkId=246987 for more details.

对应方法:https://docs.microsoft.com/en-US/sharepoint/troubleshoot/sites/site-slowness-because-of-sts-certificate-crl-checking

 

posted @   港城大白鲨  阅读(158)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 通过 API 将Deepseek响应流式内容输出到前端
点击右上角即可分享
微信分享提示