I have website built by html5 and served by Apache, I have installed Nodejs on the same sever.
I want to use node mail to send email each time a html page visited, how can I make the html page to trigger a Nodejs file/program or module?
I just don’t know how the HTML page can interact with Nodejs program on the server
You can use Ajax technology.
Using ajax, you can request an http request trigger your node server to do mail delievery.
Kit