Answer the question
In order to leave comments, you need to log in
How to make a nodejs server handle mail arriving at a domain?
There is a domain, letters will come to it, to addresses like [email protected], I want to process these letters.
Here is the implementation on php
habrahabr.ru/post/126448
Answer the question
In order to leave comments, you need to log in
The above article has a script in PHP, it needs to be translated into JavaScript, it is short and simple, there should be no problems. You can read from stdin to node.js via the process.stdin stream:
process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function (text) { ... });
process.stdin.on('end', function () { ... });
Russian is written - Permission denied. The error is cut down with axes ( my account(s) ) - chmod 0777
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question