GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java-docs-samples/flexible/mailgun at master · tjpanda88/java-docs-samples

Expand file tree

/

mailgun

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

mailgun

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
src/main
src/main
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

Java Mailgun email sample for Google App Engine Managed VMs

Open in Cloud Shell

This sample demonstrates how to use Mailgun on Google App Engine Managed VMs. For more information about Mailgun, see their documentation.

Setup

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

  1. Create a Mailgun Account. As of September 2015, Google users start with 30,000 free emails per month.
  2. Configure your Mailgun 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 MAILGUN_API_KEY=[your-mailgun-api-key] $ export MAILGUN_DOMAIN_NAME=[your-mailgun-domain-name] $ mvn clean jetty:run

Deployment

update values above in your src/main/appengine/app.yaml

$ mvn clean appengine:deploy
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.