Contributions include preventing open relay, removing reference to full stream support
Node SMTP Server
NAMEwith your own.
- Perform a reverse-lookup of your IP, and store the value in
- Provide domain you will accept mails from in
DOMAIN. Any other domain provided by a client will be rejected, closing a potential Open Relay exploit.
node smtp.js(you may have to
- Send an email to test@
ip, or to the domain resolved by your MX record.
Tested in node 0.4.2+. Likely will not work with 0.2.X.
This SMTP server is under development. Right now it only supports accepting emails into an
Buffers, and TLS likely to come in the future.
Node Email Parser
var parse = require( 'lib/parse.js' ), email = parse.email( rawEmail ); console.log( email.headers.contentType );
Examples are provided in the
node test-parse.js Gmail