[Python] [Web Apps] Django服务器未连接 - 无法发送电子邮件 [英] [Python][Web Apps] Django Server Not Connected - Can't Send Email

查看:85
本文介绍了[Python] [Web Apps] Django服务器未连接 - 无法发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!

我们有一个Azure客户@TimpleSoft,它在Twitter上询问有关使用Django App发送电子邮件的困难的问题。我们非常感谢您对此调查的帮助。

We have an Azure customer @TimpleSoft that asked questions over Twitter regarding difficulties sending email with a Django App. We would appreciate your assistance with this inquiry.

"我无法使用webfaction服务器发送带有在虚拟机中托管的Django应用程序的电子邮件。错误是SMTPServerDisconnected(服务器未连接),但它似乎是webfaction和Azure之间的事情。我尝试打开SMTP和SMTPS端点,
更改配置,但没有任何对我有用。"

"I can't send email with a Django app hosted in a Virtual Machine using webfaction server. The error is SMTPServerDisconnected (Server not connected), but it seems to be something between webfaction and Azure. I tried opening SMTP and SMTPS endpoints, changing configuration, but nothing works for me."

再次感谢您!

@AzureSupport

@AzureSupport

推荐答案

Hello @TimpleSoft,

Hello @TimpleSoft,

我是Azure App Service团队的PM。

I am a PM on the Azure App Service team.

你可以去Kudu控制台(http://< site-name> .scm.azurewebsites.net / DebugConsole)并运行以下命令吗?

Could you go to the Kudu console (http://<site-name>.scm.azurewebsites.net/DebugConsole) and run the following command?

tcpping SMTP.host.com

tcpping SMTP.host.com

如果您可以屏蔽输出并分享出现的任何错误消息,它将帮助我们调试您遇到的问题。

If you could mask the output and share any error messages that arise it would help us debug the issue you are experiencing.

谢谢,

Cory


这篇关于[Python] [Web Apps] Django服务器未连接 - 无法发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆