Skip to content

Repository files navigation

How to run

  1. Install the quickstart_webhooks_java folder in your favourite webserver. Make sure to add an empty CLIENT_SECRET to your enviroment variables.

  2. Run the project java-webhooks-v3

mvn package
mvn exec:java -Dexec.mainClass=”webhooks” -Dexec.cleanupDaemonThreads=false
  1. Grab the client secret generated in step 2 and use it to replace the empty CLIENT_SECRET variable

  2. env variables for java-webhooks-v3.rb

export NYLAS_API_KEY=<API_KEY>
export NYLAS_API_URI=<https://api.us.nylas.com>
export EMAIL=<RECIPIENT_EMAIL_ADDRESS_HERE>
export WEBHOOK_URL=<YOUR_WEBHOOK_URL>
  1. Open your browser and go to the link generated by your server.

  2. Send or recieve emails and you will the webhooks notification showing up on your application main page.

About

Quickstart Webhook Guide for Java

Topics

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages