Dynamics CRM 电子邮件服务器配置文件Advanced配置中关闭SSL

      在新建电子邮件服务器配置文件时Advanced中的Use SSL for Incoming/Outgoing Connection默认都是启用的而且无法编辑,启用SSL当然是为了安全的考虑,但当客户的邮件发送仅限内部用户同时架设的邮件服务器不支持SSL时就需要将outgoing port 改为25并设置Use SSL for Outgoing Connection 可编辑。

    更改的方式有两种,一种是直接Update配置数据库,一种是通过powershell


SQL Update

Update DeploymentProperties set BitColumn = 1 where columnname = 'AllowCredentialsEntryViaInsecureChannels'


 Update DeploymentProperties set BitColumn = 1 where columnname = 'ECAllowNonSSLEmail'


Power Shell

$itemSetting = new-object 'System.Collections.Generic.KeyValuePair[String,Object]' ("AllowCredentialsEntryViaInsecureChannels",1)$configEntity= new-object "Microsoft.Xrm.Sdk.Deployment.ConfigurationEntity"$configEntity.LogicalName = "Deployment"$configEntity.Attributes=new-object "Microsoft.Xrm.Sdk.Deployment.AttributeCollection"$configEntity.Attributes.Add($itemSetting)set-CrmAdvancedSetting -Entity $configEntity


$itemSetting = new-object 'System.Collections.Generic.KeyValuePair[String,Object]' ("ECAllowNonSSLEmail",1)$configEntity= new-object "Microsoft.Xrm.Sdk.Deployment.ConfigurationEntity"$configEntity.LogicalName = "Deployment"$configEntity.Attributes=new-object "Microsoft.Xrm.Sdk.Deployment.AttributeCollection"$configEntity.Attributes.Add($itemSetting)set-CrmAdvancedSetting -Entity $configEntity

更新后重启下IIS。再进系统就发现那两个字段可编辑了。我个人比较倾向第一种,易读易写易懂,注意是配置数据库不是组织数据库

具体的电子路由配置这边就不提了,有兴趣的可以参考勇哥的博客:http://luoyong0201.blog.163.com/blog/static/1129305201310188256202/



本文的sql语句及powershell语句参考如下文章:

http://quantusdynamics.blogspot.kr/2014/07/dynamics-crm-2013-configuring-smtp.html



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值