Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Oct 14, 2014
0 parents commit df7c26d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM node:0.10-onbuild

RUN npm install simplesmtp

EXPOSE 25
4 changes: 4 additions & 0 deletions mailtrap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require('simplesmtp').createSimpleServer({SMTPBanner:"My Server"}, function(req){
req.pipe(process.stdout);
req.accept();
}).listen(25);

0 comments on commit df7c26d

Please sign in to comment.