0

After creating a contact form using HTML, how can i send the details to email id which was filled in contact form?

13th Jun 2017, 11:38 AM
MD AQUEEL S
MD AQUEEL S - avatar
2 ответов
+ 7
use JavaScript and add a link to submit button.
13th Jun 2017, 11:47 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 4
If you want to send a mail to the user filling the form, you need to use server sided language (commonly Php), to retrieve the form data, and send the mail using server side mail functions... If your purpose is to send to yourself the form data by mail (to avoid server sided handling), you can use the 'mailto' protocole as URL (instead 'http') of the 'action' attribut of the <form> element... but this is limited to opening a prefilled mail in installed user mail application, wich require to be manually send (by user action): https://code.sololearn.com/W462919Ld2m7/?ref=app
13th Jun 2017, 2:46 PM
visph
visph - avatar