KONTAKT
Haben Sie Fragen zu unseren Leistungen und Produkten oder möchten Sie einen unverbindlichen Termin mit uns vereinbaren?
Wir sind gerne für Sie da!
isSMTP();
$mail->Host = 'smtp.strato.de';
$mail->SMTPAuth = true;
$mail->Username = 'werbung@philipp-ladenbau-werbung.de';
$mail->Password = 'werbunglogin-23';
$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
$mail->Port = 587;
$mail->setFrom('werbung@philipp-ladenbau-werbung.de', 'Webseite Anfrageformular');
$mail->addAddress('lars.hildebrand@philipp-ladenbau-werbung.de');
$mail->addReplyTo($email, $name);
$mail->isHTML(false);
$mail->Subject = "Neue Anfrage von $name";
$mail->Body = "Name: $name\nE-Mail: $email\n\nNachricht:\n$message";
$mail->send();
// --- Bestätigungsmail an Absender ---
$confirm = new PHPMailer(true);
$confirm->isSMTP();
$confirm->Host = 'smtp.strato.de';
$confirm->SMTPAuth = true;
$confirm->Username = 'werbung@philipp-ladenbau-werbung.de';
$confirm->Password = 'werbunglogin-23';
$confirm->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;
$confirm->Port = 587;
$confirm->setFrom('werbung@philipp-ladenbau-werbung.de', 'Webseite Anfrageformular');
$confirm->addAddress($email, $name);
$confirm->isHTML(true);
$confirm->Subject = "Bestätigung Ihrer Anfrage";
$confirm->Body = "
Kontaktformular
Hallo $name,
vielen Dank für Ihre Nachricht. Wir haben Ihre Anfrage erhalten und melden uns schnellstmöglich.
Ihre Nachricht:
" . nl2br($message) . "
Mit freundlichen Grüßen
Philipp Ladenbau Werbung
