发送测试电子邮件的问题 - Sitecore Email Campaign Manager 3.3

Issue with sending test email - Sitecore Email Campaign Manager 3.3

当我尝试发送测试电子邮件(除纯文本之外的所有模板)时,我在日志中看到此错误:

ERROR Exception: System.Net.WebException
Message: The connection to the remote server can not be established.
Source: System
at System.Net.HttpWebRequest.GetResponse ()
at Sitecore.Modules.EmailCampaign.Core.WebContent.DownloadString (String url, Boolean useIisCredentials, String user agent)
nested exception
Exception: System.Net.Sockets.SocketException
Message: It could not be established because the target machine actively refused

当我用纯文本消息测试它时一切正常。

在 ecm.requestbody 页面上我看到了这个异常:

exception: The connection to the remote server can not be established.
    at System.Net.HttpWebRequest.GetResponse ()
    at ASP.sitecore_admin_ecm_requestbody_aspx.DownloadString (String url, Boolean useIisCredentials, String iisUser, String iisPass)  

文件Sitecore.EmailExperience.Core.config中的字段IIS.User和IIS.Password也被填充

检查 EXM 管理器根目录中的 Base URL 设置 - 它应该是 Sitecore 实例的 URL。

更多关于经理根源的信息:

https://doc.sitecore.net/email_experience_manager/30/setting_up_exm/the_manager_root/the_manager_root_settings

如果这不能解决您的问题,这里有一篇很好的知识库文章:

https://kb.sitecore.net/articles/553662

这是一个愚蠢的问题,我的主机 (system32/driver/etc/hosts) 文件中的主机名错误