I need html code for sending emails from webpage | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I need html code for sending emails from webpage

HTML

19th Jul 2017, 5:51 PM
Gajjala vinaykumar
Gajjala vinaykumar - avatar
2 Answers
+ 15
A formmail script is a server side script that gathers the data submitted in the form and mails it to a given email address. There are many formmail scripts available.(See the pageĀ Form mail script selection guideĀ for details) The following section describes how to use a form mail script Suppose the URL to the formmail script provided to you is http//someserver/cgi-bin/formmail.pl give this URL in theĀ actionĀ attribute of yourĀ formĀ tag <formaction="http://someserver/cgi-bin/formmail.pl"method="post"> .....your input elements..... </form> Now you can give whatever input elements you want within the form tags. There are some information that you should provide to the CGI program (like the email address to which the form-data should be sent) provide these data as hidden fields in the form (usingĀ ) Insert the Submit button. Over! you are ready with your form.
19th Jul 2017, 6:24 PM
Sarath Kumar
Sarath Kumar - avatar
+ 2
You'd need a server side language for that e.g PHP or Ruby on Rails.
19th Jul 2017, 6:12 PM
Īžā“€ā’¾ā“ƒā’¼Īž
Īžā“€ā’¾ā“ƒā’¼Īž - avatar