Receive Mail Using a WebSocket
Receiving mail from a Websocket allows for interacting with incoming email in near real time.
Web sockets are a powerful tool allowing you to end-to-end test your application's email delivery systems, or respond to incoming mail in sophisticated ways - without having to setup a mail server or mess around with SMTP code.
- Mailsac API Key
- Node.js and npm
- :ref:`Private email address with websocket configured <doc_private_address_for_websocket>`
Launch WebSocket Example
Now, when an email messages are delivered to email@example.com, they will also be sent to your web socket. Try sending a message - it will be parsed into JSON and dumped to your console.