Web Socket Test Page



Web Socket Endpoint

wss://sock.mailsac.com/incoming-messages

Example Web Socket Connection in JavaScript

var params = "key=YOUR_API_KEY_HERE&addresses=1@mailsac.com,2@mailsac.com";
var ws = new WebSocket("wss://sock.mailsac.com/incoming-messages?" + params);
ws.onmessage = function (event) {
  console.log(event.data);
};

Connection Test

Enter details below then hit the Open Web Socket button to receive emails on this web page.

Web socket frames that you receive will be printed below.

API Documentation →


An API key from the the API keys page.
Only email addresses you own (private) are accepted. You must have the web socket setting flipped on the address.


Output