HTML-Kontaktformular, das E-Mail sendet
Formgong team ·
Ein HTML-Kontaktformular sendet von allein keine E-Mail. Setzen Sie action auf ein Formular-Backend und method auf POST. Der Browser sendet die Felder. Formgong speichert die Anfrage in der EU und schreibt sofort an Telegram. Auch im Gratisplan bekommen Sie eine E-Mail pro Anfrage.
Dieses HTML-Formular kopieren
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="en"> <label>Name <input type="text" name="name" autocomplete="name" placeholder="Your name" required></label> <label>Email <input type="email" name="email" autocomplete="email" placeholder="you@example.com" required></label> <label>Message <textarea name="message" placeholder="How can we help?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>Leave this field empty<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">Send</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="uk"> <label>Ім’я <input type="text" name="name" autocomplete="name" placeholder="Ваше ім’я" required></label> <label>Email <input type="email" name="email" autocomplete="email" placeholder="you@example.com" required></label> <label>Повідомлення <textarea name="message" placeholder="Чим ми можемо допомогти?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>Залиште це поле порожнім<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">Надіслати</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="pl"> <label>Imię <input type="text" name="name" autocomplete="name" placeholder="Twoje imię" required></label> <label>E-mail <input type="email" name="email" autocomplete="email" placeholder="ty@example.com" required></label> <label>Wiadomość <textarea name="message" placeholder="W czym możemy pomóc?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>Pozostaw to pole puste<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">Wyślij</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="tr"> <label>Ad <input type="text" name="name" autocomplete="name" placeholder="Adınız" required></label> <label>E-posta <input type="email" name="email" autocomplete="email" placeholder="siz@ornek.com" required></label> <label>Mesaj <textarea name="message" placeholder="Size nasıl yardımcı olabiliriz?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>Bu alanı boş bırakın<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">Gönder</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="es"> <label>Nombre <input type="text" name="name" autocomplete="name" placeholder="Tu nombre" required></label> <label>Correo electrónico <input type="email" name="email" autocomplete="email" placeholder="tu@ejemplo.com" required></label> <label>Mensaje <textarea name="message" placeholder="¿En qué podemos ayudarte?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>Deja este campo vacío<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">Enviar</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="fr"> <label>Nom <input type="text" name="name" autocomplete="name" placeholder="Votre nom" required></label> <label>E-mail <input type="email" name="email" autocomplete="email" placeholder="vous@exemple.com" required></label> <label>Message <textarea name="message" placeholder="Comment pouvons-nous vous aider ?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>Laissez ce champ vide<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">Envoyer</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="pt"> <label>Nome <input type="text" name="name" autocomplete="name" placeholder="O seu nome" required></label> <label>E-mail <input type="email" name="email" autocomplete="email" placeholder="voce@exemplo.com" required></label> <label>Mensagem <textarea name="message" placeholder="Como podemos ajudar?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>Deixe este campo vazio<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">Enviar</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="ar"> <label>الاسم <input type="text" name="name" autocomplete="name" placeholder="اسمك" required></label> <label>البريد الإلكتروني <input type="email" name="email" autocomplete="email" placeholder="you@example.com" required></label> <label>الرسالة <textarea name="message" placeholder="كيف يمكننا مساعدتك؟" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>اترك هذا الحقل فارغًا<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">إرسال</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="he"> <label>שם <input type="text" name="name" autocomplete="name" placeholder="השם שלך" required></label> <label>אימייל <input type="email" name="email" autocomplete="email" placeholder="you@example.com" required></label> <label>הודעה <textarea name="message" placeholder="איך נוכל לעזור?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>השאירו שדה זה ריק<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">שליחה</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="hi"> <label>नाम <input type="text" name="name" autocomplete="name" placeholder="आपका नाम" required></label> <label>ईमेल <input type="email" name="email" autocomplete="email" placeholder="you@example.com" required></label> <label>संदेश <textarea name="message" placeholder="हम आपकी कैसे मदद कर सकते हैं?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>इस फ़ील्ड को खाली छोड़ें<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">भेजें</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="ja"> <label>お名前 <input type="text" name="name" autocomplete="name" placeholder="山田 太郎" required></label> <label>メールアドレス <input type="email" name="email" autocomplete="email" placeholder="you@example.com" required></label> <label>メッセージ <textarea name="message" placeholder="ご用件をご記入ください" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>この欄は空のままにしてください<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">送信</button> </form>
<form action="https://formgong.com/submit" method="POST"> <input type="hidden" name="access_key" value="fk_your_access_key"> <input type="hidden" name="_lang" value="de"> <label>Name <input type="text" name="name" autocomplete="name" placeholder="Ihr Name" required></label> <label>E-Mail <input type="email" name="email" autocomplete="email" placeholder="name@beispiel.de" required></label> <label>Nachricht <textarea name="message" placeholder="Wie können wir Ihnen helfen?" required></textarea></label> <div aria-hidden="true" style="position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)"> <label>Lassen Sie dieses Feld leer<input type="text" name="botcheck" tabindex="-1" autocomplete="off"></label> </div> <button type="submit">Senden</button> </form>
Auf der Seite bleiben: dieselben Felder mit fetch
<script>
// The form above posts to https://formgong.com/submit. This script stays on the page instead.
const form = document.querySelector("form[action$='/submit']");
form.addEventListener("submit", async (event) => {
event.preventDefault();
let status = form.querySelector("[role=status]");
if (!status) {
status = document.createElement("p");
status.setAttribute("role", "status");
form.append(status);
}
try {
const response = await fetch(form.action, {
method: "POST",
headers: { Accept: "application/json" },
body: new FormData(form),
});
const result = await response.json();
status.textContent = result.message || (result.success ? "Gesendet. Vielen Dank!" : "Das Senden ist fehlgeschlagen. Bitte versuchen Sie es erneut.");
if (result.success) form.reset();
} catch {
status.textContent = "Die Verbindung ist fehlgeschlagen. Bitte versuchen Sie es erneut.";
}
});
</script>So funktionieren Formulare in HTML
HTML packt nur die Felder. Es öffnet kein Postfach und führt keinen Mail-Code aus. Das action-Attribut ist die Adresse, die den POST annimmt. Ein Formular-Backend ist diese Adresse, also sendet eine statische Seite E-Mail ohne PHP.
Ein mailto-Link öffnet das Mailprogramm des Besuchers, und viele Telefone senden nichts. PHP mail braucht einen Host, den Sie selbst betreiben, und diese Post landet oft im Spam. Ein gehosteter Endpunkt lässt die Seite eine Datei.
Einrichtung in HTML
- Legen Sie in Formgong ein Formular an und kopieren Sie den Schlüssel. Der Schlüssel ist öffentlich und gehört in die Seite.
- Fügen Sie das Formular oben ein und ersetzen Sie den Schlüssel. Geben Sie jedem Feld ein name-Attribut, sonst sendet der Browser es nicht.
- Setzen Sie das versteckte Sprachfeld auf die Sprache der Seite, damit Fehler und die Danke-Seite zur Website passen.
- Optional: Setzen Sie ein verstecktes Weiterleitungsfeld mit der vollen https-Adresse Ihrer Danke-Seite. Die Adresse muss auf Ihrer Website liegen.
- Laden Sie die Datei hoch und senden Sie einen Test von der echten Adresse. Verbinden Sie danach Telegram, wenn Sie einen Hinweis auf dem Telefon wollen.
mailto, PHP, Formspree, Web3Forms oder Formgong
| Variante | Server, den Sie betreiben | Was Sie bekommen |
|---|---|---|
| mailto: | Keinen. Das Mailprogramm des Besuchers öffnet sich. | Eine Nachricht nur, wenn die Person sendet. Viele Telefone tun nichts. Ihre Adresse ist sichtbar. |
| PHP mail() | Ihren PHP-Host und dessen Post. | E-Mail von diesem Host. Sie landet oft im Spam, und Sie pflegen das Skript. |
| Formspree | Keinen. Das Formular sendet an Formspree. | E-Mail und ein Dashboard. Kostenlos 50 Einsendungen im Monat. Personal kostet 15 Dollar im Monat. |
| Web3Forms | Keinen. Ein öffentlicher Schlüssel im Formular. | E-Mail von deren Endpunkt. Die Preisseite lud am 2026-10-06 nicht, daher steht hier kein Preis. |
| Formgong | Keinen. Das Formular sendet an Formgong. | Telegram und E-Mail sofort, auch im Free-Plan. 250 Einsendungen im Monat, Daten in der EU. |
Die Formspree-Preise stammen von formspree.io/plans am 2026-10-06. Die Formgong-Grenzen stammen aus dem Produktcode. Web3Forms.com antwortete an dem Tag mit HTTP 403, daher nennt die Zeile nur das Muster.
Preise · Formgong vs Formspree · AI form generator · Tailwind form generator · Bootstrap form generator · Booking form generator · Order form generator · Registration form generator · Contact form generator · HTML form generator · HTML form builder
Fertiges Starter-Projekt auf GitHub: github.com/formgong/html-starter. MIT-Lizenz: Klicken Sie auf „Use this template“ oder kopieren Sie die Dateien.
Neues Projekt mit einem Befehl: npm create formgong@latest -- --template html (npm: create-formgong)
Zu einem bestehenden Projekt hinzufügen: npx formgong init (npm: formgong)
Welcher Weg soll die E-Mail senden?
Nehmen Sie einfaches HTML, wenn die Seite nach dem Senden wechseln darf. Es funktioniert ohne JavaScript, in alten Browsern und auf jedem statischen Host.
Nehmen Sie fetch, wenn der Besucher auf der Seite bleiben soll. Das Skript steht unter dem Formular. Öffnen Sie es nur, wenn Sie es brauchen.
Behalten Sie PHP nur, wenn das Formular in Ihre eigene Datenbank schreiben muss. Für ein Kontaktformular ist ein gehosteter Endpunkt weniger Arbeit.
Fragen und Antworten
Kann ein HTML-Kontaktformular allein E-Mail senden?
Nein. HTML packt nur die Felder. Ein Postfach, PHP oder ein Formular-Backend muss sie annehmen und die Mail senden. Ein mailto-Link öffnet das Mailprogramm und scheitert oft.
Wie sende ich ein HTML-Formular ohne PHP per E-Mail?
Fügen Sie das Formular dieser Seite ein und setzen Sie den Schlüssel. Der Browser sendet an Formgong. Sie installieren kein PHP und kein SMTP. E-Mail und Telegram sind sofort da, auch im Free-Plan.
Was ist an einem mailto-Formular schlecht?
Der Besucher braucht ein Mailprogramm und sieht Ihre Adresse. Viele Telefone tun nach dem Tippen nichts. Es gibt keine gespeicherte Kopie und keinen Spam-Filter.
Wohin geht der Besucher nach dem Senden?
Auf eine Danke-Seite in seiner Sprache oder auf Ihre Seite, wenn Sie eine Weiterleitung setzen. Die Adresse muss auf Ihrer Website liegen. Fehler können eine eigene Seite nutzen.
Schreibt der Gratisplan bei jeder Anfrage eine E-Mail?
Ja. Free schickt jede Anfrage sofort per E-Mail an bis zu 3 Adressen. Jede Anfrage bleibt auch im Posteingang, und Telegram kann sofort schreiben. Pro erlaubt mehr Empfänger (bis zu 5).
Artikel zum Thema
- HTML-Kontaktformular ohne Backend: ein funktionierendes Beispiel
- Mailto-Formular in HTML: warum es scheitert
- Turnstile vs. reCAPTCHA vs. hCaptcha im Vergleich
- Kontaktformular-Spamschutz ohne Captcha
Website-Baukästen und Shops
Verwandte Seiten
Ratgeber für Ihre Website
- HTML-Kontaktformular ohne PHP
- Kontaktformular für statische Seiten
- Kontaktformular und DSGVO: Muster
- Datenschutzhinweis im Kontaktformular: Mustertext
- Wix Kontaktformular: Nachrichten und E-Mail
- Kontaktformular: HTML-Code zum Kopieren
- Jotform-Alternative
- Typeform-Alternative
- Google-Forms-Alternative
- Web3Forms-Alternativen
- EmailJS-Alternativen
- Formspree vs. Web3Forms
- Kostenlose Formular-Backends
- Prompts für KI-Tools
- Formular-Check
- KI-Formulargenerator
- Regeldateien für Agenten
- Tools