{source}
<?php
$emailSent = false;
require_once('phpmailer/class.phpmailer.php');
$mail = new PHPMailer(); // defaults to using php "mail()"
try {
//If the form is submitted
if(isset($_POST['kontaktbutton']) || isset($_POST['submit'])) {
//Check to make sure that the name field is not empty
if(trim($_POST['name']) == '') {
$hasError = true;
} else {
$name = trim($_POST['name']);
}
//Check to make sure sure that a valid email address is submitted
if(trim($_POST['email']) == '') {
$hasError = true;
} else if (!filter_var( trim($_POST['email'], FILTER_VALIDATE_EMAIL ))) {
$hasError = true;
} else {
$email = trim($_POST['email']);
}
if(isset($_POST['geburtstag']))
$geburtstag = trim($_POST['geburtstag']);
if(isset($_POST['anschrift']))
$anschrift = trim($_POST['anschrift']);
if(isset($_POST['ort']))
$ort = trim($_POST['ort']);
if(isset($_POST['telefon']))
$telefon = trim($_POST['telefon']);
$anrede = "";
$nachricht = "";
$firma = "";
$versicherung = "";
$versichertseit = "";
$monbeitrag = "";
$selbstbeteiligung = "";
$anmerkungen = "";
if(isset($_POST['anrede']))
$anrede = "Anrede: ".trim($_POST['anrede']);
if(isset($_POST['nachricht']))
$nachricht = "Nachricht: ".trim($_POST['nachricht']);
if(isset($_POST['firma']))
$firma = "Firma: ".trim($_POST['firma']);
if(isset($_POST['versicherung']))
$versicherung = "Versicherung: ".trim($_POST['versicherung']);
if(isset($_POST['versichertseit']))
$versichertseit = "versichert seit: ".trim($_POST['versichertseit']);
if(isset($_POST['monbeitrag']))
$monbeitrag = "monatlicher Beitrag: ".trim($_POST['monbeitrag']);
if(isset($_POST['selbstbeteiligung']))
$selbstbeteiligung = "Selbstbeteiligung: ".trim($_POST['selbstbeteiligung']);
if(isset($_POST['anmerkungen']))
$anmerkungen = "Anmerkungen: ".trim($_POST['anmerkungen']);
//If there is no error, send the email
if(!isset($hasError)) {
$body = "";
if ($anrede != "")
$body .= $anrede."<br /><br />";
$body .= "Name: $name.<br /><br />";
if ($firma != "")
$body .= $firma."<br /><br />";
$body .= "Email: $email <br /><br />Telefon: $telefon <br /><br />Anschrift: $anschrift <br /><br />Geburtstag: $geburtstag <br /><br />Ort: $ort <br /><br />$nachricht";
if($versicherung != ""){
$body .= "\n$versicherung <br /><br />$versichertseit <br /><br />$monbeitrag <br /><br />$selbstbeteiligung <br /><br />$anmerkungen";
}
if (isset($_SERVER['HTTP_REFERER']))
$body .= "<br /><br />".$_SERVER['HTTP_REFERER'];
$body .= "<br />Client: ".$_SERVER['REMOTE_ADDR'];
$body = eregi_replace("[\]",'',$body);
$mail->SetFrom(Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!', 'KVoptimal.de');
$mail->AddReplyTo("Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!","KVoptimal.de");
$address = "Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!"; //empf&auml;nger
//$address = "Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!"; //empf&auml;nger
$mail->AddAddress($address, "KVoptimal.de");
//$mail->AddBCC("Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!");
$mail->AddBCC("Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!");
$mail->AddBCC("Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!");
$mail->AddBCC("Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!");
//$mail->AddCC($email, $name);
$mail->Subject = "Kontakt KVoptimal.de";
$mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
$mail->MsgHTML($body);
if(!$mail->Send()) {
echo "Mailer Error: " . $mail->ErrorInfo;
$mail->MsgHTML("fehler: ".$mail->ErrorInfo);
$mail->Send();
} else {/*
-------------------------------------
Mail an Kunde:
-------------------------------------
*/$body2 = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Simples-Minimalistic Responsive Template</title><style type="text/css">
/* Client-specific Styles */
#outlook a {padding:0;} /* Force Outlook to provide a "view in browser" menu link. */
body{width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}
/* Prevent Webkit and Windows Mobile platforms from changing default font sizes, while not breaking desktop design. */
.ExternalClass {width:100%;} /* Force Hotmail to display emails at full width */
.ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;} /* Force Hotmail to display normal line spacing.*/
#backgroundTable {margin:0; padding:0; width:100% !important; line-height: 100% !important;}
img {outline:none; text-decoration:none;border:none; -ms-interpolation-mode: bicubic;}
a img {border:none;}
.image_fix {display:block;}
p {margin: 0px 0px !important;}
table td {border-collapse: collapse;}
table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }
a {color: #0a8cce;text-decoration: none;text-decoration:none!important;}
/*STYLES*/
table[class=full] { width: 100%; clear: both; }
/*IPAD STYLES*/
@media only screen and (max-width: 640px) {
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
color: #0a8cce; /* or whatever your want */
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration: default;
color: #0a8cce !important;
pointer-events: auto;
cursor: default;
}
table[class=devicewidth] {width: 440px!important;text-align:center!important;}
table[class=devicewidthinner] {width: 420px!important;text-align:center!important;}
img[class=banner] {width: 440px!important;}
img[class=colimg2] {width: 440px!important;height:220px!important;}
}
/*IPHONE STYLES*/
@media only screen and (max-width: 480px) {
a[href^="tel"], a[href^="sms"] {
text-decoration: none;
color: #0a8cce; /* or whatever your want */
pointer-events: none;
cursor: default;
}
.mobile_link a[href^="tel"], .mobile_link a[href^="sms"] {
text-decoration: default;
color: #0a8cce !important;
pointer-events: auto;
cursor: default;
}
table[class=devicewidth] {width: 280px!important;text-align:center!important;}
table[class=devicewidthinner] {width: 260px!important;text-align:center!important;}
img[class=banner] {width: 280px!important;}
img[class=colimg2] {width: 280px!important;height:140px!important;}
td[class=mobile-hide]{display:none!important;}
td[class="padding-bottom25"]{padding-bottom:25px!important;}}
</style>
</head>
<body>
<!-- Start of preheader -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="preheader" >
<tbody>
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td width="100%">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<!-- Spacing -->
<tr>
<td width="100%" height="10"></td>
</tr>
<!-- Spacing -->
<tr>
<td>
<table width="100" align="left" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td align="left" valign="middle" style="font-family: Helvetica, arial, sans-serif; font-size: 14px;color: #666666" st-content="viewonline" class="mobile-hide">
<a href="http://kvoptimal.de/" style="text-decoration: none; color: #666666"><img alt="" width="100" height="37" class="image-logo" src="http://kvoptimal.de/images/KVOptimallogo01.png"></a>
</td>
</tr>
</tbody>
</table>
<table width="100" align="right" border="0" cellpadding="0" cellspacing="0" class="devicewidth">
<tbody>
<tr>
<td width="30" height="30" align="right">
<div class="imgpop">
<a target="_blank" href="https://www.facebook.com/KVoptimalde">
<img src="http://kvoptimal.de/images/facebook.png" alt="" border="0" width="30" height="30" style="display:block; border:none; outline:none; text-decoration:none;">
</a>
</div>
</td></tr>
</tbody>
</table>
</td>
</tr></tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of preheader -->
<!-- Start of seperator -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="seperator">
<tbody>
<tr>
<td>
<table width="600" align="center" cellspacing="0" cellpadding="0" border="0" class="devicewidth">
<tbody>
<tr>
<td align="center" height="30" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
<tr>
<td width="550" align="center" height="1" bgcolor="#d1d1d1" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
<tr>
<td align="center" height="30" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of seperator --><!-- Start of header -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="header">
<tbody>
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td width="100%">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td>
<!-- logo -->
<table width="600" align="center" border="0" cellpadding="0" cellspacing="0" class="devicewidth">
<tbody>
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 30px; color: #666; text-align:center; line-height: 30px;" st-title="fulltext-heading">
Vielen Dank f&uuml;r Ihr Interesse
</td>
</tr>
</tbody>
</table>
<!-- end of logo -->
</td>
</tr>
<!-- Spacing -->
<tr>
<td height="20" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of Header -->
<!-- Start of main-banner -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="banner">
<tbody>
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td width="100%">
<table width="600" align="center" cellspacing="0" cellpadding="0" border="0" class="devicewidth">
<tbody>
<tr>
<!-- start of image -->
<td align="center" st-image="banner-image">
<div class="imgpop">
<a target="_blank" href="#"><img width="600" height="311" border="0" alt="" border="0" style="display:block; border:none; outline:none; text-decoration:none;" src="http://kvoptimal.de/images/ppl-email.jpg" class="banner"></a>
</div>
</td>
</tr>
</tbody>
</table>
<!-- end of image -->
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of main-banner -->
<!-- Start of seperator -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="seperator">
<tbody>
<tr>
<td>
<table width="600" align="center" cellspacing="0" cellpadding="0" border="0" class="devicewidth">
<tbody>
<tr>
<td align="center" height="20" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of seperator -->
<!-- Start Full Text -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="full-text">
<tbody>
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td width="100%">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<!-- Spacing -->
<tr>
<td height="20" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<tr>
<td>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0" class="devicewidthinner">
<tbody><!-- content -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #666666; text-align:justify; line-height: 30px;" st-content="fulltext-content">
Wir freuen uns, dass wir Sie bei Ihrem Anliegen unterst&uuml;tzen d&uuml;rfen. Sie erhalten in K&uuml;rze weitere Informationen zum Tarifwechsel. Ihr pers&ouml;nlicher Ansprechpartner meldet sich umgehend bei Ihnen und erkl&auml;rt den weiteren Verlauf. In der Zwischenzeit finden Sie aktuelle Neuigkeiten und weitere Informationen zu KVoptimal.de GmbH im Web:
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<!-- Spacing -->
<tr>
<td height="20" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- end of full text -->
<!-- Start of seperator -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="seperator">
<tbody>
<tr>
<td>
<table width="600" align="center" cellspacing="0" cellpadding="0" border="0" class="devicewidth">
<tbody>
<tr>
<td align="center" height="30" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
<tr>
<td width="550" align="center" height="1" bgcolor="#d1d1d1" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
<tr>
<td align="center" height="30" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of seperator -->
<!-- 3 Start of Columns -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable">
<tbody>
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td width="100%">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td>
<!-- col 1 -->
<table width="186" align="left" border="0" cellpadding="0" cellspacing="0" class="devicewidth">
<tbody>
<!-- image 2 -->
<tr>
<td width="100%" align="center" class="devicewidth">
<img src="http://kvoptimal.de/images/easyblog_cavatar/11_tarife-icon.jpg" alt="" border="0" width="50" height="50" style="display:block; border:none; outline:none; text-decoration:none;">
</td>
</tr>
<!-- end of image2 -->
<tr>
<td>
<!-- start of text content table -->
<table width="186" align="center" border="0" cellpadding="0" cellspacing="0" class="devicewidthinner">
<tbody>
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<!-- title2 -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 18px; color: #666666; text-align:center; line-height: 24px;" st-title="3col-title1">
Garantieerkl&auml;rung
</td>
</tr>
<!-- end of title2 -->
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<!-- content2 -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #889098; text-align:center; line-height: 24px;" st-content="3col-content1">
Wir stehen an Ihrer Seite.
Unabh&auml;ngig & Zuverl&auml;ssig.
</td>
</tr>
<!-- end of content2 -->
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<!-- read more -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #0a8cd8; text-align:center; line-height: 20px;" st-title="3col-readmore1" class="padding-bottom25">
<a href="http://kvoptimal.de/index.php/garantieerklaerung" style="text-decoration:none; color: #0a8cd8; ">Mehr dazu</a>
</td>
</tr>
<!-- end of read more -->
</tbody>
</table>
</td>
</tr>
<!-- end of text content table -->
</tbody>
</table>
<!-- spacing -->
<table width="20" align="left" border="0" cellpadding="0" cellspacing="0" class="removeMobile">
<tbody>
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
</tbody>
</table>
<!-- end of spacing -->
<!-- col 2 -->
<table width="186" align="left" border="0" cellpadding="0" cellspacing="0" class="devicewidth">
<tbody>
<!-- image 2 -->
<tr>
<td width="100%" align="center" class="devicewidth">
<img src="http://kvoptimal.de/images/easyblog_cavatar/8_allgemein-icon-02.jpg" alt="" border="0" width="50" height="50" style="display:block; border:none; outline:none; text-decoration:none;">
</td>
</tr>
<!-- end of image2 -->
<tr>
<td>
<!-- start of text content table -->
<table width="186" align="center" border="0" cellpadding="0" cellspacing="0" class="devicewidthinner">
<tbody>
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<!-- title2 -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 18px; color: #666666; text-align:center; line-height: 24px;" st-title="3col-title2">
KV Blog
</td>
</tr>
<!-- end of title2 -->
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<!-- content2 -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #889098; text-align:center; line-height: 24px;" st-content="3col-content2">
Stets informiert bleiben.
Besuchen Sie unseren Blog.
</td>
</tr>
<!-- end of content2 -->
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- /Spacing -->
<!-- read more -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #0a8cd8; text-align:center; line-height: 20px;" st-title="3col-readmore2" class="padding-bottom25">
<a href="http://kvoptimal.de/index.php/blog" style="text-decoration:none; color: #0a8cd8; ">Zum Blog</a>
</td>
</tr>
<!-- end of read more -->
</tbody>
</table>
</td>
</tr>
<!-- end of text content table -->
</tbody>
</table>
<!-- end of col 2 -->
<!-- spacing -->
<table width="1" align="left" border="0" cellpadding="0" cellspacing="0" class="removeMobile">
<tbody>
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
</tbody>
</table>
<!-- end of spacing -->
<!-- col 3 -->
<table width="186" align="right" border="0" cellpadding="0" cellspacing="0" class="devicewidth">
<tbody>
<!-- image3 -->
<tr>
<td width="100%" align="center" class="devicewidth">
<img src="http://kvoptimal.de/images/easyblog_cavatar/3_pkv-icon.jpg" alt="" border="0" width="50" height="50" style="display:block; border:none; outline:none; text-decoration:none;">
</td>
</tr>
<!-- end of image3 -->
<tr>
<td>
<!-- start of text content table -->
<table width="186" align="center" border="0" cellpadding="0" cellspacing="0" class="devicewidthinner">
<tbody>
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<!-- title -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 18px; color: #666666; text-align:center; line-height: 24px;" st-title="3col-title3">
Wechselvorteile
</td>
</tr>
<!-- end of title -->
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<!-- content -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #889098; text-align:center; line-height: 24px;" st-content="3col-content3">
Entdecken Sie Ihre
Vorteile beim Tarifwechsel.
</td>
</tr>
<!-- end of content -->
<!-- Spacing -->
<tr>
<td width="100%" height="15" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<!-- read more -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 14px; color: #0a8cce; text-align:center; line-height: 20px;" st-title="3col-readmore3">
<a href="http://kvoptimal.de/index.php/tarifwechsel/ihre-vorteile" style="text-decoration:none; color: #0a8cce; ">Mehr dazu</a>
</td>
</tr>
<!-- end of read more -->
</tbody>
</table>
</td>
</tr>
<!-- end of text content table -->
</tbody>
</table>
</td>
<!-- spacing -->
<!-- end of spacing -->
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- end of 3 Columns -->
<!-- Start of seperator -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="seperator">
<tbody>
<tr>
<td>
<table width="600" align="center" cellspacing="0" cellpadding="0" border="0" class="devicewidth">
<tbody>
<tr>
<td align="center" height="30" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
<tr>
<td width="550" align="center" height="1" bgcolor="#d1d1d1" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
<tr>
<td align="center" height="30" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of seperator --><table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="full-text">
<tbody>
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td width="100%">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<!-- Spacing -->
<tr>
<td height="20" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
<tr>
<td>
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0" class="devicewidthinner">
<tbody><!-- content -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #666666; text-align:center; line-height: 30px;" st-content="fulltext-content">
Mit freundlichen Gr&uuml;&szlig;en,
</td>
</tr>
<!-- content -->
<tr>
<td style="font-family: Helvetica, arial, sans-serif; font-size: 16px; color: #666666; text-align:center; line-height: 30px;" st-content="fulltext-content">
KVoptimal.de
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<!-- Spacing -->
<tr>
<td height="20" style="font-size:1px; line-height:1px; mso-line-height-rule: exactly;">&nbsp;</td>
</tr>
<!-- Spacing -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- Start of seperator -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="seperator">
<tbody>
<tr>
<td>
<table width="600" align="center" cellspacing="0" cellpadding="0" border="0" class="devicewidth">
<tbody>
<tr>
<td align="center" height="30" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
<tr>
<td width="550" align="center" height="1" bgcolor="#d1d1d1" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
<tr>
<td align="center" height="30" style="font-size:1px; line-height:1px;">&nbsp;</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of seperator --><!-- Start of Postfooter -->
<table width="100%" bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" id="backgroundTable" st-sortable="postfooter" >
<tbody>
<tr>
<td>
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td width="100%">
<table width="600" cellpadding="0" cellspacing="0" border="0" align="center" class="devicewidth">
<tbody>
<tr>
<td align="center" valign="middle" style="font-family: Helvetica, arial, sans-serif; font-size: 14px;color: #666666" st-content="postfooter">
<a href="http://kvoptimal.de/index.php/impressum" style="text-decoration: none; color: #0a8cce">Impressum</a> | <a href="http://kvoptimal.de/index.php/haftungsausschluss" style="text-decoration: none; color: #0a8cce">Haftungsausschluss</a>
</td>
</tr>
<!-- Spacing -->
<tr>
<td width="100%" height="20"></td>
</tr>
<!-- Spacing -->
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<!-- End of postfooter --></body>
</html>';$mail2 = new PHPMailer();
$mail2->SetFrom(Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!', 'KVoptimal.de');
$mail2->AddReplyTo("Diese E-Mail-Adresse ist vor Spambots geschützt! Zur Anzeige muss JavaScript eingeschaltet sein!","KVoptimal.de");
$mail2->AddAddress($email, $name);
$mail2->Subject = "Kontakt KVoptimal.de";
$mail2->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test
$mail2->MsgHTML($body2);
$mail2->Send();/*
-------------------------------------
Best&auml;tigungsseite
-------------------------------------
*/echo '<div class="row-fluid">
<h1 class="kvo-textcenter">VIELEN <span class="boldcolor" style="color: #5ba02a;">DANK!</span></h1>
</div>
<h2 class="kvo-textcenter margin-bottom-20">Wir freuen uns, dass wir Sie bei Ihrem Anliegen unterst&uuml;tzen d&uuml;rfen. Sie erhalten in K&uuml;rze weitere Informationen zum Tarifwechsel.</h2>
<div class="row-fluid">
<div class="span12"><img class="borderedimg" src="/images/team.jpg" alt="team" height="auto" width="auto" /></div>
</div>
<div class="row-fluid">
<p class="kvo-big-line">Ihre W&uuml;nsche und Bed&uuml;rfnisse, als langj&auml;hrig privat Versicherter, stehen in der analytischen und detailgenauen Beratung der KVoptimal.de GmbH im Fokus. Die n&auml;chsten Schritte im &Uuml;berblick:</p>
</div>
<hr />
<div class="row-fluid">
<div class="span11">
<div class="main">
<ul class="kv_tmtimeline">
<li><time class="kv_tmtime"><span>Beratung</span> <span>Schritt 01</span></time>
<div class="kv_tmicon">&nbsp;</div>
<div class="kv_label">
<p>Innerhalb der n&auml;chsten <strong>120 Minuten (zu den Gesch&auml;ftszeiten)</strong> meldet sich Ihr pers&ouml;nlicher Ansprechpartner der KVoptimal.de. In diesem Einf&uuml;hrungsgespr&auml;ch, erl&auml;utert Ihr Spezialist das weitere Vorgehen und nimmt ihre individuellen W&uuml;nsche und Fragestellungen auf.</p>
</div>
</li>
<li><time class="kv_tmtime"><span>Auswahl</span> <span>Schritt 02</span></time>
<div class="kv_tmicon">&nbsp;</div>
<div class="kv_label">
<p>Nach analytischer Gesamtbetrachtung der f&uuml;r Sie relevanten Parameter, erhalten Sie eine individuelle Ergebnis&uuml;bersicht. Diese beinhaltet die optimalen Alternativtarife bei gleichem oder besseren Leistungsniveau. Ihr pers&ouml;nlicher Ansprechpartner, Spezialist der KVoptimal.de, bespricht den Inhalt und M&ouml;glichkeiten in einem weiteren Gespr&auml;ch mit Ihnen, um Ihnen die relevanten Entscheidungsparameter nachvollziehbar darzulegen.</p>
</div>
</li>
<li><time class="kv_tmtime"><span>Ziel</span> <span>Schritt 03</span></time>
<div class="kv_tmicon ">&nbsp;</div>
<div class="kv_label">
<p>Sag Ihnen einer der recherchierten Tarif zu, begleiten wir Sie bei der rechtlichen Umsetzung. So haben Sie die M&ouml;glichkeit bereits im Folgemonat bares Geld einzusparen.</p>
</div>
</li>
</ul>
</div>
</div>
</div>
<hr />
<p class="kvo-big-line">Das sagen unsere Kunden nach erfolgreicher Optimierung der privaten Krankenversicherung:</p>
<div class="span12" style="margin-bottom: 60px;">
<div class="gallery items-3">
<div id="item-1" class="control-operator">&nbsp;</div>
<div id="item-2" class="control-operator">&nbsp;</div>
<div id="item-3" class="control-operator">&nbsp;</div>
<figure class="item">
<div class="media testimonial">
<div class="pull-left">&nbsp;</div>
<div class="media-body">
<div class="testimonial-content" style="text-align: justify;">Vom VDB informiert, klappte die pers&ouml;nliche Kontaktaufnahme und Terminabsprache kurzfristig nach meinen Zeitvorgaben. Die Beratung erfolgte umfassend, kenntnisreich und f&uuml;r mich verst&auml;ndlich. Das Ergebnis der Tarifoptimierung erbrachte eine echte finanzielle Entlastung bei fast gleichem Leistungsumfang. Auch das im Angebot inbegriffene Servicepaket nach erfolgter Optimierung ist eine super Sache.</div>
<div style="margin-top: 5px;" class="media testimonial-author">
<div class="pull-left"><img class="img-circle" alt="John Doe" src="/images/ekomi_testimonial" width="68" /></div>
<div class="media-body"><strong>EKOMI Feedback</strong> <br /> vom 15.07.2014 um 17:26 Uhr <br /> <img class="img" alt="stars" src="/images/stars.jpg" /></div>
</div>
</div>
</div>
</figure>
<figure class="item">
<div class="media testimonial">
<div class="pull-left">&nbsp;</div>
<div class="media-body">
<div class="testimonial-content" style="text-align: justify;">In meinem Fall hat die Verhandlung meines Vertrages in einem deutlich reduzierten Angebot meiner Versicherung bei sogar einer kleinen Verbesserung der Leistung gef&uuml;hrt. Man weiss nicht genau, wie schnell die Versicherung versuchen wird die Kosten wieder anzupassen. Aber erstmal habe ich weniger Kosten. Bis jetzt hat es sich schon gelohnt. Prima.</div>
<div style="margin-top: 5px;" class="media testimonial-author">
<div class="pull-left"><img class="img-circle" alt="John Doe" src="/images/ekomi_testimonial" width="68" /></div>
<div class="media-body"><strong>EKOMI Feedback</strong> <br /> vom 16.07.2014 um 11:57 Uhr <br /> <img class="img" alt="stars" src="/images/stars.jpg" /></div>
</div>
</div>
</div>
</figure>
<figure class="item">
<div class="media testimonial">
<div class="pull-left">&nbsp;</div>
<div class="media-body">
<div class="testimonial-content" style="text-align: justify;">Ich war sehr misstrauisch beim ersten Kontakt. Danach erfolgte eine sehr kompetente pers&ouml;nliche Beratung. Die Unterlagen mit gegen&uuml;berstellung der Tarife war aufschlussreich und anschaulich. Ich habe ca. 30% meiner Beit&auml;ge bei g&uuml;nstigeren Konditionen eingespahrt. Ich habe schon zwei Bekannten KV Optimal empfohlen.</div>
<div style="margin-top: 5px;" class="media testimonial-author">
<div class="pull-left"><img class="img-circle" alt="John Doe" src="/images/ekomi_testimonial" width="68" /></div>
<div class="media-body"><strong>EKOMI Feedback</strong> <br /> vom 16.07.2014 um 19:53 Uhr <br /> <img class="img" alt="stars" src="/images/stars.jpg" /></div>
</div>
</div>
</div>
</figure>
<div class="controls"><a href="#item-1" class="control-button">•</a> <a href="#item-2" class="control-button">•</a> <a href="#item-3" class="control-button">•</a></div>
</div>
</div>';
$emailSent = true;
}
}
}
}catch(Exception $e){
echo 'Es ist ein Fehler aufgetreten: ', $e->getMessage(), "\n";
}
if (!$emailSent)
echo "Ein Fehler ist aufgetreten, bitte kontaktieren Sie uns telefonisch.";
?>
<img src="https://farm.plista.com/activity2;domainid:32688;campaignid:21777;event:24" style="width:1px;height:1px;" alt="" />
<!-- Google Code for Kontaktaufnahme Conversion Page -->
<script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 973417277;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "Fym9CNub8QcQvdaU0AM";
var google_conversion_value = 2;
var google_remarketing_only = false;
/* ]]> */
</script>
<script type="text/javascript" src="//www.googleadservices.com/pagead/conversion.js">
</script>
<noscript>
<div style="display:inline;">
<img height="1" width="1" style="border-style:none;" alt="" src="//www.googleadservices.com/pagead/conversion/973417277/?value=2&amp;label=Fym9CNub8QcQvdaU0AM&amp;guid=ON&amp;script=0"/>
</div>
</noscript>
<script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"4015162"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script><noscript><img src="//bat.bing.com/action/0?ti=4015162&Ver=2" height="0" width="0" style="display:none; visibility: hidden;" /></noscript>
<!-- Facebook Conversion Code for Kaufbestätigungen - KVoptimal.de - Tarifwechsel prüfen -->
<script>(function() {
var _fbq = window._fbq || (window._fbq = []);
if (!_fbq.loaded) {
var fbds = document.createElement('script');
fbds.async = true;
fbds.src = '//connect.facebook.net/en_US/fbds.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(fbds, s);
_fbq.loaded = true;
}
})();
window._fbq = window._fbq || [];
window._fbq.push(['track', '6028826201455', {'value':'0.00','currency':'EUR'}]);
</script>
<noscript><img height="1" width="1" alt="" style="display:none" src="https://www.facebook.com/tr?ev=6028826201455&amp;cd[value]=0.00&amp;cd[currency]=EUR&amp;noscript=1" /></noscript>

{/source}