This sample demonstrates how to use Mailjet on Google Managed VMs to send emails from a verified sender you own.
- Before using, ensure the address you plan to send from has been verified in Mailjet.
$ export MAILJET_API_KEY=[your mailjet api key]
$ export MAILJET_SECRET_KEY=[your mailjet secret key]
$ mvn clean jetty:run
- Edit the environment variables in the app.yaml with the appropriate Mailjet values. $ mvn clean appengine:deploy