The Jedi Academy. THE Place for Jedi training.
Forums
Content
The Academy
Learn
Communicate
Personal


Forums | General Discussion
Sending mail from a form
Sep 25 2005 03:49pm

Bail Hope of Belouve
 - Student
Bail Hope of Belouve
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?:P

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
Sep 27 2005 07:28pm

JamesF1
 - Student
 JamesF1

We've solved it, I've whipped Bail up a PHP mailer.
_______________
Website

Sep 27 2005 05:19pm

tarpman
 - The Tarped Avenger
 tarpman

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.

Sep 27 2005 02:01pm

SaZ
 - Student
 SaZ

ahh i thought u need something else :P
_______________
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

Sep 27 2005 01:57pm

Henkes
 - Student
 Henkes

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!

Sep 27 2005 07:17am

DJ Sith
 - Jedi Council
 DJ Sith

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.

Sep 27 2005 01:35am

tarpman
 - The Tarped Avenger
 tarpman

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. :D

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.

Sep 25 2005 04:14pm

JamesF1
 - Student
 JamesF1

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

Sep 25 2005 04:06pm

Bail Hope of Belouve
 - Student
 Bail Hope of Belouve

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.


Sep 25 2005 04:05pm

SaZ
 - Student
 SaZ

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 :D

_______________
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!