在新建電子郵件服務器配置文件時Advanced中的Use SSL for Incoming/Outgoing Connection默認都是啓用的並且沒法編輯,啓用SSL固然是爲了安全的考慮,但當客戶的郵件發送僅限內部用戶同時架設的郵件服務器不支持SSL時就須要將outgoing port 改成25並設置Use SSL for Outgoing Connection 可編輯。mysql
更改的方式有兩種,一種是直接Update配置數據庫,一種是經過powershellsql
- Update DeploymentProperties set BitColumn = 1 where columnname = 'AllowCredentialsEntryViaInsecureChannels'
-
-
- Update DeploymentProperties set BitColumn = 1 where columnname = 'ECAllowNonSSLEmail'
【注意:是UPDATE配置數據庫,而不是組織數據庫】shell
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數據庫