How can I send data from two text boxes to an email via javascript?
Javascript only
How can I send data from two text boxes to an email via javascript?
Javascript only
To send an email must be done through a smtp client on a server, the problem is that javascript is used on the client side, unless you talk about nodejs that I do not think is the case .... Your option could be to send the text boxes to the server through ajax and on the server using php for example. With php you can instantiate a smtp client and send the mail ... Then you can receive the return in the ajax response and return it to the client as a sent message.