get_text(); //text in plain text $tomail=explode(";",$to.";"); foreach($tomail as $key => $value) { if (trim($value)!="") { $mail = new PHPMailer; $mail->isSendmail(); $mail->setFrom(trim($afz), ' '); $mail->addReplyTo(trim($afz), ' '); $mail->addAddress(trim($value), ' '); $mail->Subject = $ond; $mail->msgHTML($body); $mail->AltBody = $tekst; $mail->send(); } } return $mail->ErrorInfo; } //------------------------------------- end functions -------------------------------------------- $data=$_POST['data']; if ($_POST['send']!="") { $sh=false; if ($data['naam']=="") $sh=true; if ($data['email']=="") $sh=true; if ($data['telefoon']=="") $sh=true; if ($data['rechtsgebied']=="") $sh=true; if ($data['opm']=="") $sh=true; if ($sh==false) { $body="

Contactformulier

"; $body.="Datum: ".date("d-m-Y H.i:s")."
"; $body.="Naam: ".$data['voorletters']." ".$data['naam']."
"; $body.="Email: ".$data['email']."
"; $body.="telefoonnummer: ".$data['telefoon']."
"; $body.="Rechtsgebied: ".$data['rechtsgebied']."
"; $body.="

Opmerking,vraag :
".$data['opm']."

"; $body.=""; $err=send_mail("info@katz-advocaten.nl",$body,$data['email'],"Contactformulier"); $message="

Het contactformulier is verzonden.

"; $data=array(); } else $message="

Niet alle verplichte velden zijn ingevuld.

"; } ?>

Contactformulier

/>
/>
/>

Rechtsgebieden

Belastingrecht

Erfrecht

Personen- en Familierecht

Ondernemingsrecht

Contractenrecht

Huurrecht

Arbeidsrecht

Faillissementsrecht / WSNP

Socialezekerheidsrecht