Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simple form via email not working

Status
Not open for further replies.

warchyld

IS-IT--Management
Aug 6, 2003
16
0
0
Greetings,

I have a simple contact form that is currently running on a Win2k/IIS 5.1 box correctly. I'm trying to move it to a Win2K3 IIS6 box without luck.

When I send the form on the IIS6 box it does send an email, but it's not sending any of the variables - only the static content. i.e. it should send "USER has issued an information request" but I'm only getting " has issued an information request".

I currently have PHP 4.3.9 installed, but I've also tried 5.0.2 with the same results.

Any ideas on what I'm missing?

Below is the email portion of the script:

<?

//This is the E-mail which is sent to you.

mail("****@private.com", "General Contact Form", "$name has issued a information request.

\nName: $name
\nAddress: $address
\nCity: $city
\nState: $state
\nZIP: $zip
\nPhone: $phone
\nEmail: $email
\nComments:\n$comments ",
"Bcc: ****@private.com\r\n");



?>
 
That did the trick.

Thanks very much sleipnir!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top