google-app-engine
Send Emails From AppEngine Locally
The subject of the post says it all: I want to be able to send emails from AppEngine when it is running locally. As far as I understood from this post: to send emails from Google appengine I have to setup a mail server. Can anyone tells me some easy steps to install a mail server locally and use it with Google AppEngine?
OK, I found a good solution for this question. Basically, just install sendmail tool, then use the option --enabled_sendmail when calling dev_appserver.py. So here is what I did (I use Ubuntu): sudo apt-get install sendmail Then whenever I call dev_appserver.py, I call it like this: ~/google_appengine/dev_appserver.py --enable_sendmail --port=8081 ./appengine/ Notice the --enable_sendmail option. I believe there can't be an easier solution than this :-)
Why do you want to send mail from AppEngine while running locally? If it's just for testing purposes, Python comes with a built-in SMTP server that will log to the console for you: python -m smtpd -n -c DebuggingServer localhost:1025
Related Links
GAE custom Go runtime - internal.flushLog error
Google Datastore - Search Optimization Technique
Can't lease tasks by service account
Why custom domain “myapp.com” which replaces “myapp.appspot.com” took so long to load when comparing to “myapp.appspot.com”?
Does objectify have a get_or_insert equivalent
Custom domain from google not routing to App engine site
Unable to stop or delete datalabs environment on Google Cloud Platform
Is there a way to interactively create a new Datastore entity kind for Go GAE apps?
Is IP address from GoogleAppEngine URLFetch in same project static?
Index Disadvantages
Communications link failure when connect to Google Cloud SQL(second gen) only from prod
How do I add a Google Cloud Endpoints Module to my Android project in IntelliJ?
Does anyone know how to configure grunt-gcloud?
Can I have two instances on same App Engine project - Java servlet and Endpoints side by side?
Validate appspot application for mailgun
Google App Engine: Development only route in app.yaml