Skip to content

Example of receiving email via web socket from the mailsac.com API

Notifications You must be signed in to change notification settings

mailsac/mailsac-node-websocket-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Mailsac.com Web Socket Email Example

Example of receiving emails over a web socket.

Requirements

  • Node.js and npm
  • mailsac.com paid account (for API key)

Usage

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

About

Example of receiving email via web socket from the mailsac.com API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published