mail-null

Fake SMTP server that doesn't deliver the received mails. Useful for debugging and testing apps that send email.

Usage no npm install needed!

<script type="module">
  import mailNull from 'https://cdn.skypack.dev/mail-null';
</script>

README

/mail/null

Tired of accidentally sending test mails from your development environment to real addresses?

Meet /mail/null, a dummy SMTP server for development. Instead of relaying messages it renders them in a simple web interface for easy browsing.

Dependency Status

Installation

npm install -g mail-null

Start

mail-null

Configuration

The server listens for connections on port 2525 (SMTP) and 3000 (HTTP). This can be overridden by setting the environment variables SMTP_PORT and PORT.

License

MIT