Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 569 Bytes

File metadata and controls

15 lines (12 loc) · 569 Bytes

Mailjet sample for Google Managed VMs

This sample demonstrates how to use Mailjet on Google Managed VMs to send emails from a verified sender you own.

Setup

  1. Before using, ensure the address you plan to send from has been verified in Mailjet.

Running locally

$ export MAILJET_API_KEY=[your mailjet api key]
$ export MAILJET_SECRET_KEY=[your mailjet secret key]
$ mvn clean jetty:run

Deploying

  1. Edit the environment variables in the app.yaml with the appropriate Mailjet values. $ mvn clean appengine:deploy