...

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



ssffcc
06-05-2006, 06: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?

_Aerospace_Eng_
06-05-2006, 06: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.

ssffcc
06-05-2006, 08:11 AM
thx _Aerospace_Eng_ , :(



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum