Example of receiving emails over a web socket.
- Node.js and npm
- mailsac.com paid account (for API key)
Clone this repository and cd
into it.
npm install
export MAILSAC_USER = 'your mailsac username / _id';
export MAILSAC_KEY = 'your mailsac api key'; # Obtain from https://mailsac.com/api-keys
export ADDRESSES = '[email protected],[email protected]' # list your emails to listen for messages
node example.js