Skip to content

An smtp —catch all— server for web development purposes

License

Notifications You must be signed in to change notification settings

revington/nosey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nosey

An smtp server for web development purposes

Nosey is a smtp catch-all server and a web interface. It is ideal for web development purposes:

  • Emails are stored in memory not in your mailbox.
  • You can send from/to any address/domain with no configuration.

Install and run

$ git clone https://github.com/revington/nosey.git
$ cd nosey
$ npm install

Run nosey

$ node app.js
  1. An smtp server is running at port 4040.
  2. Send some emails. From/to can be any address.
  3. Open the web interface. http://localhost:4000
  4. Voilá

You can also telnet nosey

You can telnet nosey an send a email in an old school way. Do the following:

First execute nosey. You can do it in the background or in another terminal.

$ node app &
>Nosey web server listening on port 4000

Then telnet to nosey smtp server

$ telnet localhost 4040
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>Connection from 127.0.0.1
>220 trifid ESMTP node.js simplesmtp

Do a HELO

HELO client
>250 trifid at your service, [127.0.0.1]

Then do a MAIL From

MAIL From:<[email protected]>
>250 2.1.0 Ok

Set a recipient

RCPT To:<[email protected]>
>250 2.1.0 Ok

Now send some data

DATA

>354 End data with <CR><LF>.<CR><LF>
Just to say hello.

.
250 2.0.0 Ok: queued as 800ee2e8056608c7b343

Escape:

^]  

quit

quit
>Connection closed to 127.0.0.1   

Go to localhost:4000 and your email should be there!

License

See LICENSE file. Mit.

About

An smtp —catch all— server for web development purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published