Sending mail from a form | |
Bail Hope of Belouve - Student |
Kay. Problem I'm having is this: I have a form on a site. I want that as soon as you click the 'submit' button, that all contents of this form are mailed to an e-mail address. I know how to do it in HTML, but when I press 'submit', it automatically opens Outlook Express (or Thunderbird, depends on default), with a mail containing all those infos. But I don't want it to do that. I want to make it so that the user has no idea he just sent me a mail containing everything in that form. (it's just an order-form for the mini-enterprise). I know I'll have to use a CGI-script for this (or at least I think so), but each time I google, I get such complicated stuff ... Anyone who can offer me any help in plain English? ![]() Thanks in advance Bail _______________ Visit the Belouve Family Website! Quote: I try to have fun with my friends and try to make a difference as best I can. What does making a difference mean? Well, it can be as simple as saying hello, answering a question that seems obvious or heck, just talking. -- Vladarion
Want to know Vladarion? Read the Article about his life here. |
Login and add your comment! |
Comments |
JamesF1 - Student ![]() |
We've solved it, I've whipped Bail up a PHP mailer. _______________ Website |
tarpman - The Tarped Avenger ![]() |
Most beginner-level Web design books have a chapter or two on Perl, and the first topic covered is usually a simple e-mail form. Try getting something like that at your local library. ![]() Don't forget, however, that Perl is executed server-side, so the server has to have the requisite software on it and available to you. _______________ Saving the world, one kilobyte at a time. |
SaZ - Student ![]() |
ahh i thought u need something else ![]() _______________ playing jk3 since 30th of january (2005), member since 1st of february. [Unofficial Master to Vision and Z�diac ] If you can make a fool of yourself infront of 300 people you can do anything - Jaiko D'kana |
Henkes - Student ![]() |
We're just covering perl scripts for GET and POST @ school... and i have to agree with DJ here... get a php or perl script to do it... _______________ Get on your feet and do the Funky Alfonzo! |
DJ Sith - Jedi Council ![]() |
I'd stay away from client side email sending. All the various browsers and mail clients out there can really muck things up. Go find you a Perl or PHP script to send your mail. _______________ My car is made of Nerf. |
tarpman - The Tarped Avenger ![]() |
I had a working HTML-only form a while back that would silently mail its contents in raw form when Submit was pressed. I'll see if I can dig it up for you. No scripting required; however, the mail you receive can be hard to read for the uninitiated. ![]() And any scripting you end up doing will be quite complicated, and *will* require support on the server end. PHP is probably the easiest way to do it; depending on where the site is hosted, CGI (or Perl) or ASP may be options. I happen to have a soft spot for Perl, but it's definitely on the complicated side. _______________ Saving the world, one kilobyte at a time. This comment was edited by tarpman on Sep 27 2005 01:36am. |
JamesF1 - Student ![]() |
You're going to need to use CGI or PHP to mail it. If you want to catch me on MSN, I'll whip up a mailer script for you in PHP (provided you have PHP support on your server). _______________ Website |
Bail Hope of Belouve - Student |
No no no no no ... ![]() I want the info that people fill in on my form mailed to me automatically, without them having to do anything else besides filling it in, and pressing a button. _______________ Visit the Belouve Family Website! Quote: I try to have fun with my friends and try to make a difference as best I can. What does making a difference mean? Well, it can be as simple as saying hello, answering a question that seems obvious or heck, just talking. -- Vladarion
Want to know Vladarion? Read the Article about his life here. |
SaZ - Student ![]() |
errrm open ur hotmail or whatever email. press compose email. then copy all info needed in to it. in the way like : name: John Johnson adress: w0000sh street 71. in the 'to' write the email which is given when u press submit and get that damn outlook express. that should work ![]() _______________ playing jk3 since 30th of january (2005), member since 1st of february. [Unofficial Master to Vision and Z�diac ] If you can make a fool of yourself infront of 300 people you can do anything - Jaiko D'kana |
Login and add your comment! |