我试图在我的网站上使用应用引擎邮件发送服务。 目前,我已经把一些简单的:Google应用引擎发送邮件服务引发异常
message = mail.EmailMessage(sender="Subhranath Chunder <[email protected]>", \
subject="Your account has been approved")
message.to = "Subhranath Chunder <[email protected]>"
message.body = "Just another message"
message.send()
但每一次的代码处理程序提出了这样的错误:
2011-08-20 04:44:36.988
ApplicationError: 1 Internal error
Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/_webapp25.py", line 703, in __call__
handler.post(*groups)
File "/base/data/home/apps/s~subhranath/0-2.352669327317975990/index.py", line 71, in post
message.send()
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 895, in send
raise e
ApplicationError: ApplicationError: 1 Internal error
我作为一个不同版本的代码,而不是默认的一个。我无法将此版本更改为默认版本,除非此错误得到解决。任何想法为什么发生这种情况?
用户'[email protected]'是应用程序的唯一管理员,这是我。 :) 相同的代码刚开始工作几个小时后。我甚至没有进行新的部署。 :( –