IsSMTP(); $mail->Host = 'smtp.webhost.com'; $mail->Port = 25; $mail->SMTPAuth = true; $mail->Username = 'insurance '; $mail->Password = '12345678'; $mail->Subject = stripslashes($subject); $mail->From = $mailfrom; $mail->FromName = $mailfrom; $mailto_array = explode(",", $mailto); for ($i = 0; $i < count($mailto_array); $i++) { if(trim($mailto_array[$i]) != "") { $mail->AddAddress($mailto_array[$i], ""); } } if (!validateEmail($mailfrom)) { $error .= "The specified email address (" . $mailfrom . ") is invalid!\n
"; throw new Exception($error); } $mail->AddReplyTo($mailfrom); $message .= $eol; $message .= "IP Address : "; $message .= $_SERVER['REMOTE_ADDR']; $message .= $eol; foreach ($_POST as $key => $value) { if (!in_array(strtolower($key), $internalfields)) { if (is_array($value)) { $message .= ucwords(str_replace("_", " ", $key)) . " : " . implode(",", $value) . $eol; } else { $message .= ucwords(str_replace("_", " ", $key)) . " : " . $value . $eol; } } } $mail->CharSet = 'UTF-8'; if (!empty($_FILES)) { foreach ($_FILES as $key => $value) { if (is_array($_FILES[$key]['name'])) { $count = count($_FILES[$key]['name']); for ($file = 0; $file < $count; $file++) { if ($_FILES[$key]['error'][$file] == 0) { $mail->AddAttachment($_FILES[$key]['tmp_name'][$file], $_FILES[$key]['name'][$file]); } } } else { if ($_FILES[$key]['error'] == 0) { $mail->AddAttachment($_FILES[$key]['tmp_name'], $_FILES[$key]['name']); } } } } $mail->WordWrap = 80; $mail->Body = $message; $mail->Send(); header('Location: '.$success_url); } catch (Exception $e) { $errorcode = file_get_contents($error_url); $replace = "##error##"; $errorcode = str_replace($replace, $e->getMessage(), $errorcode); echo $errorcode; } exit; } ?> Untitled Page
1 million people use BOKASIBUSINESSINSURANCE to compare quotes from 80+ providers, including:

Auto Insurance

Comprehensive coverage for your vehicle with competitive rates and 24/7 roadside assistance.


◉ Collision & Comprehensive
◉ Liability Protection
◉ Uninsured Motorist

Personal Insurance

Life, health, and disability insurance to protect you and your family's financial future.


◉ Life Insurance
◉ Health Insurance
◉ Disability Coverage

Home Insurance

Protect your home and belongings with comprehensive homeowner's insurance coverage.


◉ Dwelling Protection
◉ Personal Property
◉ Liability Coverage

Renters Insurance

Affordable protection for your personal belongings and liability coverage for renters.


◉ Personal Property
◉ Liability Protection
◉ Additional Living Expenses

Commercial Insurance

Comprehensive business protection including general liability, property, and workers' compensation.


◉ General Liability
◉ Property Coverage
◉ Workers' Compensation

Condo Insurance

Specialized coverage for condominium owners protecting your unit and personal property.


◉ Unit Coverage
◉ Personal Property
◉ Loss Assessment

Comprehensive coverage for your vehicle with competitive rates and 24/7 roadside assistance.

What Clients Say

Check out client testimonials to see how our services benefit businesses like yours.

   Ready to Get Protected?

Get a free quote in minutes and discover how much you could save with SecureGuard Insurance.