Skip to content

Unofficial mailgun.com API service mock for development and testing

License

Notifications You must be signed in to change notification settings

peerdom/mailgun-mock

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailgun-mock

Unofficial mailgun.com API service mock for development and testing

Screenshot of mailgun-mock

Using

Pull and run the Docker image:

docker pull asedov/mailgun-mock
docker run --rm -it -p 8080:80 -e MAILGUN_API_KEY=key-example asedov/mailgun-mock

Navigate to http://localhost:8080 to view messages (automatically updates)

Post an example email to see it appear in the web browser:

curl -s --user 'api:key-example' http://localhost:8080/v3/mail.example.org/messages \
    -F from='A User <mailgun@mail.example.org>' \
    -F to=some_user@example.com \
    -F subject='Hello' \
    -F text='Hello, world'

Environment Variables

  • MAILGUN_API_KEY
  • MAILGUN_WEBHOOK_KEY
  • MAILGUN_WEBHOOK_URL

About

Unofficial mailgun.com API service mock for development and testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 45.0%
  • Go 42.6%
  • CSS 4.4%
  • HTML 4.1%
  • Dockerfile 3.9%