PDA

View Full Version : HELP!! I"M NEW!!! (NEED HELP WITH EMAIL FORM)


mrchrisharan
10-07-2005, 11:30 PM
Hi i was wondering if anyone could help me.

My sister has a small business, i've set up a website for her and now i'm trying to set up a form so that people can submit a query to her e-mail address via a form

I have got this far (see link below) however i need to know how to set the properties so that it is sent to the relevant Email address!

Any help would be greatly appreciated

Thanks

http://homepage.ntlworld.com/chris.haran/UsingForms.htm ('http://homepage.ntlworld.com/chris.haran/UsingForms.htm')

mrchrisharan
10-08-2005, 01:04 AM
SORRY! FORGOT TO ADD I"M USING DREAMWEAVER MX! SILLY ME!!

Creative Insanity
10-08-2005, 08:23 AM
You have your action set to formmail.php, what is in there?

Anyway here is a simple php responder that I use.
All my contact stuff goes to my admin panel and I am just sent a responder to tell me someone has submitted something.

<?php
// The message
$message = "You have a new contact message at your site.";

// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70);

// Send
mail('mail@address', 'My Subject', $message); ?>
You are welcome to use this if you wish.

gmcrone
10-09-2005, 03:13 PM
your php file is not on the server (formmail.php)

You set the email address inside this php file.

Mike...