Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Python Mailjet email sample for Google App Engine Flexible

Open in Cloud Shell

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

Setup

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

  1. Create a Mailjet Account.

  2. Configure your Mailjet 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 MAILJET_API_KEY=[your-mailjet-api-key]
$ export MAILJET_API_SECRET=[your-mailjet-secret]
$ export MAILJET_SENDER=[your-sender-address]
$ python main.py