I have an odd issue. For the last 5 weeks since this form was created there has been no issue receiving emails from customers. Suddenly we are not receiving these emails that customers submit using the form. Nothing had been changed to the code on the form or the PHP, which makes me think there might be a different problem. When I go to test the form, everything submits fine. It directs to the php file, once the mail() function runs successfully it redirects to a thank you page like it’s supposed to. For simplicity, I’ve left out the form validation scripts.
Here is the HTML form:
<form action="Quotes.php" method="Get" name="Quotes" onsubmit="return validate();" class="style-2">
<table style="width: 100%;" border="0" cellspacing="5px" cellpadding="5px" id="quotetable">
<tbody>
<tr>
<td style="width:100%;" colspan="4"><input type="edit" name="Company_Name__1" placeholder="Company Name" size="50" style="width:100%;"/></td>
</tr>
<tr>
<td style="width:100%;" colspan="4"><input type="edit" name="Full_Name__2" value="" placeholder="Full Name" size="50" style="width:100%;"/></td>
</tr>
<tr>
<td style="width:100%;" colspan="4"><input type="edit" name="Phone_Number__3" placeholder="###-###-####" size="20" style="width:100%;"/></td>
</tr>
<tr>
<td style="width:100%;" colspan="4"><input type="edit" name="Email__4" value="" placeholder="Email" size="50" style="width:100%;"/></td>
</tr>
<tr>
<td style="width:100%;" colspan="4"><input type="edit" name="Confirm_Email__5" value="" placeholder="Confirm Email" size="50" style="width:100%;"/></td>
</tr>
<tr>
<td style="width:100%;" colspan="4"><input type="edit" name="Delivery_Address__6" value="" placeholder="Delivery Address" size="50" style="width:100%;"/></td>
</tr>
<tr>
<td style="padding-right:10px;width:100%;"><input type="edit" name="City__7" value="" placeholder="City" size="30" style="width:90%;"/></td>
<td style="padding-right:10px;"><input type="edit" name="State__8" value="" placeholder="State" size="10"/></td>
<td style="padding-right:10px;"><input type="edit" name="Zip__Postal_Code__9" value="" placeholder="Zip/Postal" size="10"/></td>
<td><input type="edit" name="Country__Region__10" value="" placeholder="Country/Region" size="20"/></td>
</tr>
<tr>
<td style="width:100%;" colspan="4"><select name="Delivery_Type__11" style="width:100%;">
<option selected="selected" value="">Select Delivery Type</option>
<option value="Commercial">Commercial</option>
<option value="Residential">Residential</option>
<option value="School">School</option>
<option value="Church">Church</option>
<option value="Airport">Airport</option>
<option value="Construction/Utility">Construction/Utility</option>
<option value="Correctional Facility">Correctional Facility</option>
<option value="Military Base">Military Base</option>
<option value="Piers/Wharves">Piers/Wharves</option>
<option value="Storage Facility">Storage Facility</option>
<option value="Farm">Farm</option>
<option value="Ranch">Ranch</option>
<option value="Country Club">Country Club</option>
<option value="Mines/Quarries">Mines/Quarries</option>
<option value="Shopping Mall">Shopping Mall</option>
<option value="Golf Course">Golf Course</option>
<option value="Nursing Home">Nursing Home</option>
<option value="Government Site">Government Site</option>
<option value="Hotel">Hotel</option>
</select></td>
</tr>
<tr>
<td valign="top" colspan="2"><h3>Delivery Services Needed?:</h3></td></tr>
<tr>
<td valign="top" colspan="3" style="width:100%;"><input type="checkbox" name="Hydraulic_Lift_Gate___12" value="Yes" style="float:left;margin-top:-6px;margin-bottom:6px;"/>Hydraulic Lift Gate <b>$ </b><br /><br> <input type="checkbox" name="Inside_Delivery_First_Door_Only___12" value="Yes" style="float:left;margin-top:-6px;margin-bottom:6px;"/>Inside Delivery (First Door Only) <b>$$ </b><br /><br> <input type="checkbox" name="White_Glove_Service_Installation_and_Unpackaging___12" value="Yes" style="float:left;margin-top:-6px;margin-bottom:6px;"/>White Glove Service (Installation and Unpackaging) <b>$$$ </b></td>
</tr>
<tr>
<td style="width:100%;" colspan="4" valign="top">
<h3 style="margin-top:10px;">Which product would you like a quote on?</h3>
<textarea name="Viewed_Products__13" rows="4" cols="80" style="width:100%;" placeholder="Which Product Are You Requesting A Quote For?">%%GLOBAL_ProductName%% - %%GLOBAL_SKU%%</textarea></td>
</tr>
<tr>
<td style="padding-right:10px;"><input type="edit" name="Quantity" placeholder="Quantity" size="10" style="width:90%;"/></td>
<td colspan="3"><input id="datepicker" type="edit" name="When_Do_You__15" value="" placeholder="When Do You Need Your Product?" size="20" style="width:100%;" /></td>
</tr>
<tr>
<td style="width:100%;" colspan="4" valign="top"><textarea name="Additional_Notes__16" rows="4" cols="80"style="width:100%;" placeholder="Any Additional Notes, Comments, or Products?"></textarea></td>
</tr>
<tr>
<td colspan="4"><input type="submit" name="Submit" value="Request A Quote" /></td>
</tr>
</tbody>
</table>
</form>
Here is the PHP file:
[php]
[/php]