IsSMTP(true); // tell the class to use SMTP $mail->SMTPAuth = true; // enable SMTP authentication $mail->Port = 25; // set the SMTP server port $mail->Host = "mail.reflactionmanagement.com"; // SMTP server $mail->Username = "peter@reflactionmanagement.com"; // SMTP server username $mail->Password = "reflaction"; // SMTP server password $mail->AddReplyTo($_POST['emailadres'],$_POST['naam']); $mail->From = $_POST['emailadres']; $mail->FromName = $_POST['naam']; $to = $_SESSION['SiteSettings']['companyemailaddress']; $mail->AddAddress($to); $mail->Subject = $_POST['onderwerp']; $mail->AltBody = "To view the message, please use an HTML compatible email viewer!"; // optional, comment out and test $mail->WordWrap = 80; // set word wrap $mail->MsgHTML($body); $mail->IsHTML(true); // send as HTML $mail->Send(); header("Location: index.php?p=bedankt"); exit(); } catch (phpmailerException $e) { $result = $e->errorMessage(); } } $pagina = $database->query("SELECT * FROM paginas WHERE modrewrite='{0}'", $values=array($_GET['p'])); $quote = $database->query("SELECT text,paginas FROM quotes WHERE language='nl' ORDER BY RAND()"); $slideshow = $database->query("SELECT id,album,photos FROM slideshow WHERE id={0}",$values=array($pagina[0]['slideshowalbum'])); $dbfile = $database->query("SELECT bestandnummer,naam FROM bestanden"); if(count($slideshow) == 1) { //$slideshowhtml = '
'; //$slideshowhtml .= '
'; $slideshowhtml .= '
'; $files = explode(',',$slideshow[0]['photos']); if($pagina[0]['slideshoworder'] == "1") shuffle($dbfile); for($x=0; $x'; } } $slideshowhtml .= '
'; //$slideshowhtml .= '
'; } ?> Reflaction Management :
ReflactionManagement

Reflaction Management

Advies, Coach, Resultaat