Solved

Submit/email form help

Posted on 1997-11-01
3
207 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
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…
The viewer will learn how to dynamically set the form action using jQuery.

726 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