• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Submit/email form help

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
graphics
Asked:
graphics
  • 2
1 Solution
 
Holger101497Commented:
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
 
Holger101497Commented:
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
 
graphicsAuthor Commented:
Sorry about the delay! Thank-you very much! Great service!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now