+ 5

Email a user-form with JS

I want to mail a user-form on a website to an specific email address. I know it is possible with php but is this also possible with JavaScript alone? If yes, how can I do that? Thanks in advance

22nd Feb 2018, 7:42 PM
3TW3
3TW3 - avatar
3 odpowiedzi
+ 21
Yes it can be done by JavaScript with the help of node.js which is a server side js framework for handling backend stuff. For more information check this example. https://www.w3schools.com/nodejs/nodejs_email.asp
23rd Feb 2018, 12:09 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 5
Thanks I will try this.
23rd Feb 2018, 7:37 AM
Tigress
Tigress - avatar
+ 4
W3Schools.com is a great resource to use, another is tutorialspoint.com.
12th Mar 2018, 12:57 AM
Earl Hansen