Article View: comp.lang.javascript
Article #221Re: Automatic mail submission
From: Don Benish
Date: Fri, 04 Apr 1997 00:00
Date: Fri, 04 Apr 1997 00:00
42 lines
2338 bytes
2338 bytes
On Wed, 02 Apr 1997 18:52:57 GMT, ejvr@ej1bbs.demon.nl (Evert Jan van Ramselaar) wrote: >On Tue, 01 Apr 1997 15:50:15 +0000, Nigel Horne ><NIGEL.HORNE.0353041@nt.com> wrote: > >>When hitting the 'submit' button on a form I'd prefer the form's >>contents to be e-mailed to an address, with a preset subject. I don't >>want to just have a URL of mailto: because that wouldn't implement a >>form, and I can't use Javascript's .submit() because Demon won't let me >>have my own CGI scripts. > >Try starting your form with this: > ><form action="http://www.tamu.edu:80/cgi/mailto.pl" method="POST"> ><input type="hidden" name="errorsto" value="name@host.demon.nl"> ><input type="hidden" name="mailitto" value="name@host.demon.nl"> ><input type="HIDDEN" name="subject" VALUE="Any subject you want"> >Your real name: <input name="namefrom" size=45> >Your e-mail address: <input name="mailfrom" size=45> > >This works fine for me. Pse let me know if it works for you too... > > >-- > +----------------------------+----------------------------+ > | Met vriendelijke groet | Evert Jan van Ramselaar | > | With kind regards | EJ1BBS Internet Services | > | | ejvr@ej1bbs.demon.nl | > +----------------------------+----------------------------+ > | Visit our website: <http://www.ej1bbs.demon.nl> | > +---------------------------------------------------------+ > NetSight: zoeken op naam, plaats of categorie > <http://www.ej1bbs.demon.nl/netsight> Do you have permission from tamu.edu to use their mailto.pl They may not be happy when every Tom, Dick and Harry slams their server with form mail calls. Don http://www.megaconverter.com FAQ at http://www.why.net/users/dabmowf
Technical Details
Message-ID:
<33455a9e.22689519@news.why.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<33412EB7.3F54BC7E@nt.com> <3342aa1c.51906764@127.0.0.1>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f76f2,42c6ee1408f578c3 X-Google-Attributes: gidf76f2,public X-Google-Thread: fb3cb,42c6ee1408f578c3 X-Google-Attributes: gidfb3cb,public From: dabmowf@why.net (Don Benish) Subject: Re: Automatic mail submission Date: 1997/04/04 Message-ID: <33455a9e.22689519@news.why.net> X-Deja-AN: 231054696 References: <33412EB7.3F54BC7E@nt.com> <3342aa1c.51906764@127.0.0.1> Organization: Benish Industries Newsgroups: comp.lang.javascript,demon.homepages.authoring