尝试在本地测试电子邮件功能。
我启动开发服务器时启用了以下选项:
--smtp_host=smtp.gmail.com --smtp_user=myemailadress@gmail.com --smtp_password=whatever
导致以下异常:
ERROR 2013-01-17 13:35:34,621 _webapp25.py:468] This class/method is not available.
File "C:\Python25\lib\socket.py", line 387, in readline
buf.write(buffer(data, 0, nl))
File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\dev_appserver.py", line 884, in NotImplementedFake
raise NotImplementedError('This class/method is not available.')
NotImplementedError: This class/method is not available.
如何从本地开发服务器测试电子邮件功能?