【发布时间】:2014-10-30 16:44:43
【问题描述】:
我正在尝试使用 python 使用 Google App Engine 设置 SendGrid,按照此处的说明进行操作:https://developers.google.com/appengine/docs/python/mail/sendgrid
我可以成功使用示例应用发送邮件: https://github.com/sendgrid/google-python-sample-app
但这是基于旧的 sendgrid python 代码,我想使用最新版本: https://github.com/sendgrid/sendgrid-python/tree/master/sendgrid
我尝试按照此处的指导进行操作:sendgrid google app engine python DistributionNotFound
...手动安装sendgrid和smtpapi,然后将文件夹复制到我的gae目录,然后将smtpapi移动到sendgrid目录...
但得到了错误:
"ImportError: cannot import name Sendgrid"
【问题讨论】:
标签: python google-app-engine sendgrid