Skip to content

viniciusvollrath/google-python-sample-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SendGrid on Google App Engine

This git repository helps you to send emails quickly and easily through SendGrid on Google App Engine using Python.

Running on Google App Engine

Create an SendGrid account at http://sendgrid.com/pricing.html

Create an account at https://appengine.google.com/ and set up your local machine with the client tools https://developers.google.com/appengine/docs/python/gettingstartedpython27/devenvironment

Create an application on https://appengine.google.com/start/createapp

Clone project on your local machine

    git clone https://github.com/sendgrid/google-python-sample-app

###Configuration### Configure googleSendgridPython.py file with your information:

Update the <sendgrid_username> and <sendgrid_password> with your SendGrid credentials.

    s = Sendgrid('<sendgrid_username>', '<sendgrid_password>', secure = True)

Update the <from_address> with your email address

    message = Message('<from_address>', subject, content, '')

Update application identifier in app.yaml file

    application: application_identifier

Upload your application to Google App Engine

    appcfg.py update google-sendgrid-python/

That's it, you can now checkout your application at:

    http://application_identifier.appspot.com/

For more details about SendGrid libray please read http://sendgrid.com/docs/Code_Examples/python.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.6%
  • HTML 7.3%
  • CSS 3.1%