Error sending e-mail via SMTP server on App Engine development server

前端 未结 5 1579
北荒
北荒 2020-12-31 08:25

I am trying to send Email using this sample code and these command-line options:

dev_appserver.py --smtp_host=smtp.gmail.com --smtp_port=25 --smtp_user=xxx@g         


        
5条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-31 09:11

    For anyone looking up this answer in 2018 or later: this workaround is no longer needed. You can now use the command like the original poster wrote it:

    dev_appserver.py --smtp_host=smtp.gmail.com --smtp_port=25 --smtp_user=xxx@gmail.com --smtp_password=yyy myapp
    

提交回复
热议问题