Solved

Submit/email form help

Posted on 1997-11-01
3
216 Views
Last Modified: 2013-12-25
Does anyone know of a way to have a submit form on a page without cgi, or javascript. I don't want to use an outside service to host a cgi either. I just need a simple form that emails info to a selected recipient. I'm tired of dealing with different systems and webmaters to get access to cgi-bin read write..etc. I have frontpage but alot of times the webbots aren't loaded correctly on the server or it doesn't work. Any suggestions would be appreciated. Thanks
0
Comment
Question by:graphics
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
Holger101497 earned 100 total points
ID: 1855402
If you neither want to use JavaScript nor CGI, you're down to the very simple (yet effective):

<form action="mailto:yourmail@somewhere.net" method=post  ENCTYPE="multipart/form-data">
  <input type=text name="subject" value="Test2postform-data"><BR>
  <textarea COLS=40 ROWS=10 name="body">Testbody</textarea>
  <input type=submit>
</form>

You can play around with the combinations of ENCTYPE and METHOD to get what you want. If you specify GET and no enctype, the browser opens an e-mail form that the user can still edit. If you specify POST, the form is sent without further user-interaction.
ENCTYPE="multipart/form-data" will encode each form-element as a separate attachment while the "standard" encoding just garbles it into one long string. Just try which one you like best. Either way you can specify a subject-line for these mails by entering "mailto:youraddress@server.com?subject=MySubject" as ACTION.

Hope that's all you need. If it isn't, just ask.

Good luck!
0
 
LVL 6

Expert Comment

by:Holger101497
ID: 1855403
Hello? Still there? I would appreciate it if you could grade my answer because it turns into an automatic "C" otherwise! I think this answer deserves better!
(11-14-97)

Thanks!
0
 

Author Comment

by:graphics
ID: 1855404
Sorry about the delay! Thank-you very much! Great service!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question