Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Python SendGrid email sample for Google App Engine Flexible

This sample demonstrates how to use SendGrid on Google App Engine Flexible.

For more information about SendGrid, see their documentation.

Setup

Before you can run or deploy the sample, you will need to do the following:

  1. Create a SendGrid Account. As of September 2015, Google users start with 25,000 free emails per month.

  2. Configure your SendGrid settings in the environment variables section in app.yaml.

Running locally

Refer to the top-level README for instructions on running and deploying.

You can run the application locally and send emails from your local machine. You will need to set environment variables before starting your application:

$ export SENDGRID_API_KEY=[your-sendgrid-api-key]
$ export SENDGRID_SENDER=[your-sendgrid-sender-email-address]
$ python main.py
Morty Proxy This is a proxified and sanitized view of the page, visit original site.