artweb Posted June 6, 2008 Share Posted June 6, 2008 I have alot of html forms that use php to email the form. It has worked just fine until today and now it stop working on all my forms. It says The info has been sent to email but when I check there no email in my box. Heres my code. The html form---<form method="post" action="piperfq.php"> <?php // Contact subject $subject ="Pipe rfq Form"; // Details $message=" Company Name: $companyname, Address: $address, City: $city, State: $state, Zip: $zip, Tel: $tel, Cell: $cell, Fax: $Fax, Requested by: $requested, First Name: $frist_name, Last Name: $last_name, Email: $email, PART DESCRIPTION Blasting: $blasting, Largest Pipe Diameter: $largest_pipe_diameter, Smallest Pipe Diameter: $smallest_pipe_diameter, Longest Pipe: $longest_pipe, Shortest Pipe: $shortest_pipe, Pipe Material ASTM grade: $grade, Pipe Material: $pipe_material, Other Pipe Material: $other_pipe_material, Maximum Weight: $maximum_weight, lbs per: $lbs_per, Part Pre Blast Condition: $pre_blasting, Paint & Type: $paint_type, Other Part Pre Blast Condition: $other_pre, Finish Needed: $finish_needed, Describe any profile needed or other finish spec's: $other_finish, Production Rate needed: $pro_rate, FPM on: $fpm, dia.: $dia, Machine Operating Hours: $day, day: $week, Are Pipes Sizes Ran In Batches or Random?: $batch_random, Most Common Sizes Processed: $common_sizes, Most Common Pre Condition Processed: $common_pre, Are Sample Parts Available?: $sample_parts, MATERIAL HANDLING How Will Pipes Be Loaded?: $loaded_pipe, How Will Pipes Be Unloaded?: $unloaded_pipe, Feet Of Load & Unload Conveyor Needed With The Blaster?: $feet_load, Will The Blaster Be Placed In Line With Other Equipment?: $line_equipment, How Are The Items Presently Cleaned?: $items_cleaned, BUILDING AND WORK AREA LIMITATIONS Ceiling Height Limitation: $ceiling, Door Opening: $door, SERVICE AVAILABLE Voltage: $voltage, Phase: $phase, Amps: $amps, Air: $air, Exhaust Vent: $exhaust_vent, DUST COLLECTOR Include In Base Price?: $base_price, Quote As Option?: $quote_as_option, Located?: $located, HEPA Filter on Dust Collector?: $filter_collector, Other Information or Notes: $other, Known Competition: $known_competition, Details of Machines Quoted: $machines_quoted"; // Mail of sender $done=mail($to,$subject,$message,$header); // From // Enter your email address $mail_from="$email"; $header="from: $customer_name <$email>"; $to ='web@lsindustries.com'; $done=mail($to,$subject,$message,$header); // Check, if message sent to your email // display message "We've received your information" if($done){ echo "We've received your contact information"; } ?> Quote Link to comment Share on other sites More sharing options...
anthonydamasco Posted June 6, 2008 Share Posted June 6, 2008 make sure that the server is that you are using is setup for server email. Quote Link to comment Share on other sites More sharing options...
saint959 Posted June 6, 2008 Share Posted June 6, 2008 Hey, I have not gone through your code in detail but it may be possible. i see your email is very straight forward and 'simple' have you checked your spam box by anychance? i have done a few simliar email things ages ago and they just never got through to me. Quote Link to comment Share on other sites More sharing options...
artweb Posted June 6, 2008 Author Share Posted June 6, 2008 I have check my spam there nothing there. Can you tell me how to check the server. everything work just yesterday. Quote Link to comment Share on other sites More sharing options...
anthonydamasco Posted June 6, 2008 Share Posted June 6, 2008 the email server might just be REALLY slow also Quote Link to comment Share on other sites More sharing options...
artweb Posted June 6, 2008 Author Share Posted June 6, 2008 I tried sending it to other email also. No other email worked. Quote Link to comment Share on other sites More sharing options...
artweb Posted June 9, 2008 Author Share Posted June 9, 2008 All my PHP email forms still do not work . I looked into our servers but theres nothing there. Can anyone help? No other PHP email script works either. Quote Link to comment Share on other sites More sharing options...
divadiva Posted June 9, 2008 Share Posted June 9, 2008 I had the same issue the other day. Check your server. Lookout at your spam folder. I got my mail after few hours.Might be an issue on server. Besties!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.