Using Express API
This example demonstrates using Candymail on an Express.js API. The workflow configuration is defined here.
  1. 1.
    Clone, run and install the Express example
git clone https://github.com/bdcorps/candymail.git
npm install
2. Create a .env
HOSTING_URL=http://localhost:3000
MAIL_PASSWORD=123456789
3. Run using:
npm run express
4. If you keep the server running, you should receive one email in the next minute and another 3 hours later.
Copy link