$value) { if (!in_array($key, $ex)) { $message.=$key.": " . $value . "\n"; } } # Send message by e-mail. $sm=mail($to, $subject, $message); if (!$sm) { print "Error: Cannot send e-mail. Please try again or contact the administration if the problem persists."; }else{ print "Warranty Form has been sent successfully."; } ?>