php send mail help

Soldato
Joined
11 Jul 2004
Posts
16,147
Location
Neptune
I'm trying to recreate a form that will send an email with the content that the user gives in the various fields. I've never done this before and need help.

I've recreated a form in Dreamweaver from the customer's previous site, but i need to code the submit button to send it over to them via email.

The send button's value is currently: <input name="Submit" type="submit" value="Send Details"> but on testing it is asking for a send.php file (which i don't have).

Thank you
 
Last edited:
Ok, it has the following:

<form name="form1" method="post" action="valuation_send.php">

Where would the php script be stored on the site? I don't have their FTP details yet so can't log on and find it that way. Could it be anywhere or only in a certain place (eg local to the page you're on)?

EDIT If i put in the website then the 'valuation_send.php' (eg www.mysite.com/valuation_send.php) it immediately forwards to a thank you page so i presume that's the location of the php code, but i can't grab it using Flashget or anything like that.
 
Thanks for everyone's help...got it sorted and working. :)

Is it possible to make it so that the form won't send if all fields aren't completed? A popup or something to show the user they've left something out.

Thank you.
 
Back
Top Bottom