O'Reilly logo

Mastering Google App Engine by Mohsin Shafique Hijazee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Putting it all together

Now that we are done exploring everything about e-mails on Google App Engine, it is time to put it all together. We are going to develop an app that is similar to what we did in the last chapter. You give it a URL and an e-mail address. The page is downloaded, compressed, and stored in the datastore like before. But besides that, we also e-mail that page to the given e-mail address. In case the sending of the e-mail fails, we handle the bounce notifications and record this information in logs.

In case the user replies to the e-mail, we parse the incoming e-mails and record the feedback as well. Let's go through everything file by file. The first one is app.yaml:

application: your-app-id version: 1 runtime: python27 api_version: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required