nopCommerce 3.2/电子邮件发送失败/配置问题



我正在尝试在nopCommerce 3.2上设置电子邮件。我遇到了一些与"保持活力"服务有关的问题。我正在使用rackspace来处理电子邮件,相信我已经使用SSL和端口465对其进行了很好的配置。此错误同时发生在我的本地主机和Windows Azure虚拟机上。

这是我在nopCommerce日志文件中得到的错误。

> Short Message:
> 
> Error while running the 'Keep alive' schedule task. Unable to connect
> to the remote server

> Full message:
> 
> System.Net.WebException: Unable to connect to the remote server --->
> System.Net.Sockets.SocketException: No connection could be made
> because the target machine actively refused it 127.0.0.1:15536 at
> System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot,
> SocketAddress socketAddress) at
> System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure,
> Socket s4, Socket s6, Socket& socket, IPAddress& address,
> ConnectSocketState state, IAsyncResult asyncResult, Exception&
> exception) --- End of inner exception stack trace --- at
> System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest&
> request) at System.Net.WebClient.DownloadString(Uri address) at
> Nop.Services.Common.KeepAliveTask.Execute() in KeepAliveTask.cs:line
> 27 at Nop.Services.Tasks.Task.Execute(Boolean throwException) in
> Task.cs:line
> 83

我已经阅读了几篇关于这个主题的帖子,但没有找到任何真正讨论如何解决这个问题的内容。提前感谢您的帮助。

保活url是从配置->常规设置上的StoreUrl值中检索的,但保活任务和邮件服务之间没有连接。这个保持活动的任务只是ping应用程序,这样IIS就不会停止它。

如果您的邮件服务不工作,请检查系统->消息队列,尝试从电子邮件配置发送新的测试邮件,然后再次检查日志。

最新更新