View Full Version : is it possible to send confirmation email with JS?

06-05-2006, 07:10 AM
I have a page where user inputs are taken and an email is sent to user to the input email address containing all the user input details collected on the form.

Instead of using mailto to open up default email client, I want this email to be generated and sent automatically with the "submit" button click event.

I am able to do it using PHP, however, in this case, the page is done with pure client side scripting, so, is it possible with JS?

06-05-2006, 07:16 AM
No. JS can't handle an email sent without opening the default mail client. Perhaps you should open a popup window of the users browser and send them to a page online.

06-05-2006, 09:11 AM
thx _Aerospace_Eng_ , :(