Click to See Complete Forum and Search --> : form sends user thank you email


archvillain
01-16-2006, 06:49 AM
First time here so maybe you won't find this as much a headache as me.
I'm simply after a simple form script, PHP Javascrit or whatever, that, as well as sending me their info, THEN sends the user an email (at the address they've entered) with specific thank you wording written by me.

This seems simple enough but so help me it seems impossible to find how to do this! Can anyone help???

eddie55
01-16-2006, 06:57 AM
to do this you just need to look at the mail function in PHP.

archvillain
01-16-2006, 08:42 AM
you wouldn't happen to have any scripts or part of a script going for this, would you?

dpkyte
01-16-2006, 10:05 AM
$primary_email='emailto@yahoo.com';
$subject = 'Subject Line here';
$message = "enter Message Here";
mail($primary_email, $subject, $message);

NogDog
01-16-2006, 02:47 PM
Some examples and lots of useful info here: http://www.php.net/manual/en/function.mail.php