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

时间:2016-08-02 16:19:17

标签: sitecore sitecore-ecm

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

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也已填充

2 个答案:

答案 0 :(得分:0)

检查EXM管理员根目录上的基本网址设置 - 它应该是您的Sitecore实例的网址。

更多关于经理根源:

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

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

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

答案 1 :(得分:0)

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