Dynamics CRM e-mail server configuration file Advanced configuration close SSL

      When creating a new e-mail server configuration file in the Advanced Use SSL for Incoming / Outgoing Connection is enabled by default and can not be edited, of course, to enable SSL security considerations, but when customers send e-mail only with users at the same time set up e-mail it is necessary to change outgoing port 25 when the server does not support SSL and set the Use SSL for outgoing Connection can be edited.

    There are two ways to change, a direct Update configuration database, one is through 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


 

Under IIS restart after the update. Into the system and then discovered that two fields can be edited. I personally tend to the first, easy to read and easy to write and easy to understand, pay attention to the configuration database is not organized database

Particular electronic routing configuration is not mentioned here, are interested can refer Yongge the blog: http://luoyong0201.blog.163.com/blog/static/1129305201310188256202/



sql statement of this powershell statement and refer to the following article:

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


Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed.

 

Reproduced in: https: //www.cnblogs.com/VicTang/p/4799514.html

Guess you like

Origin blog.csdn.net/weixin_34417814/article/details/93416644