Send data to a [duplicate] stream

-2

How can I send data from two text boxes to an email via javascript?
Javascript only

    
asked by Axel Arteaga 22.08.2016 в 00:31
source

2 answers

0

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.

    
answered by 22.08.2016 / 01:51
source
1

answered by 22.08.2016 в 01:11