0.1.16 • Published 5 years ago

taotie v0.1.16

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

taotie - SMTP Mail Server for Testing

This mail server stores all the mails sent to it. It will create mail box for new reciepient address.

To start a SMTP server listen on port 1025, and recieve all the mails.

var taotie = require('taotie');

server = new taotie();
server.listen();

Choose Mail Store Types

LevelDB

server = new taotie({db_type: 'leveldb'});

NeDB

server = new taotie({db_type: 'nedb'});

Test SMTP

Use openssl to STARTTLS with login:

$ openssl s_client -crlf -starttls smtp -connect 0.0.0.0:1025
...
250 STARTTLS
AUTH PLAIN AGptczFAam1zMS5uZXQAbm90Lm15LnJlYWwucGFzc3dvcmQ=
235 Authentication successful
mail from: <user1@test.example.com>
250 Accepted
rcpt to: <user2@test.example.com>
250 Accepted
data
354 End data with <CR><LF>.<CR><LF>
subject: Test Mail Server

This is a test mail from openssl client.
Please discard it.
.
250 OK: message queued
quit
221 Bye
closed
0.1.16

5 years ago

0.1.15

5 years ago

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago