IsHTML(true); $mail->IsSMTP(); $mail->SMTPAuth = false; // enable SMTP authentication $mail->Host = "mail2.palmsecure.biz"; // sets the SMTP server $mail->Port = 25; // set the SMTP port for the GMAIL server $mail->AddAddress($mto); $mail->WordWrap = 150; $mail->SetFrom($mfrom); $mail->Subject = $subject; $body = "The following contact request has been completed online today ".$pdate.".

Contact Name".$row['name']."
Address".$row['address']."
Post Code".$row['postcode']."
Telephone".$row['telephone']."
Email".$email."
Interested inTowbars :- ".$row['towbar']."
Trailers :- ".$row['trail']."
Access/Parts :- ".$row['accessparts']."

Require the followingTowbar supply only :- ".$row['towsupply']."
Trailer hire :- ".$row['trailhire']."
Trailer purchase :- ".$row['trailbuy']."
Acc/Parts purchase :- ".$row['buyaccessparts']."
Enquiry".$row['enquiry']."
"; $mail->MsgHTML($body) ; $mail->Send(); mysql_query("DELETE FROM mailcheck WHERE email='$email'"); header("location:http://www.solent-towbars.co.uk/quote-confirm.html"); ?>