limit to number of mail function headers?

From: Date: Tue, 11 Jun 2002 15:11:00 +0000
Subject: limit to number of mail function headers?
Groups: php.general 
Request: Send a blank email to php-general+get-101559@lists.php.net to get a copy of this message
is there a limit to the number of headers you can use in the mail ( ) function? it seems as though the data is not being passed from the form fields to the variables in the headers. for instance $contact does display in the resulting html. see code below. also, just upgraded to apache 1.3.24, php 4.2.1. could this be affecting the results? thanks. <? $report = trim($report); $station = trim($station); $date = ($date); $time = trim($time); $aircraft = trim($aircraft); $flight =trim($flight); $tail = trim($tail); $gate = trim($gate); $captain = trim($captain); $first_officer = trim($first_officer); $second_officer = trim($second_officer); $details = trim($details); $solutions = trim($solutions); $submitted = trim($submitted); $contact = "Mr Foo"; // person to contact for assistance $toaddress = "Mr Foo@foo.com"; // the default value $fromaddress = "From: webmaster@foo.com"; $subject = "Report"; $report_information = "Report Type: ".$report."\n" // all the information from the report.htm form. ."Station: ".$station."\n" ."Date: ".$date."\n" ."Time: ".$time."\n" ."Aircraft #: ".$aircraft."\n" ."Flight #: ".$flight."\n" ."Tail #: ".$tail."\n" ."Gate #: ".$gate."\n" ."Captain: ".$captain."\n" ."First Officer: ".$first_officer."\n" ."Second Officer: ".$second_officer."\n\n" ."Complete Details of Safety Occurrence: ".$details."\n\n" ."Possible Solutions: ".$solutions."\n\n" ."Submitted by: ".$submitted."\n"; mail($toaddress, $subject, $report_information, $fromaddress); ?>

« previous php.general (#101559) next »