The script below works on my development web server which sits on our
company LAN. When I transfer the script to our isp hosted webserver, the
script does not work. I changed to read localhost/
for the isp webserver version (I have also tried replacing localhost with
the actual ip address). On my development server, the email is sent and the
redirection happens but on the production server neither of these happens.
Any ideas?

  $toaddress = "[EMAIL PROTECTED]";
  $subject = "Enquiry via Web Site.";
  $mailcontent = "Customer Name: ".$name."\n"
                 ."Position: ".$position."\n"
                 ."Company Name: ".$company."\n"
                 ."Address: ".$address."\n"
                 ."E-mail: ".$email."\n"
                 ."Tel No: ".$telno."\n"
                 ."Customer Comments: ".$enquiry."\n";

  mail($toaddress, $subject, $mailcontent);



This e-mail is intended for the recipient only and
may contain confidential information. If you are
not the intended recipient then you should reply
to the sender and take no further ation based
upon the content of the message.
Internet e-mails are not necessarily secure and
CCM Limited does not accept any responsibility
for changes made to this message. 
Although checks have been made to ensure this
message and any attchments are free from viruses
the recipient should ensure that this is the case.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to