HTML iletişim formu e-posta gönderir
Formgong team ·
Bir HTML iletişim formu kendi başına e-posta gönderemez. Action değerini bir form uç noktasına, method değerini POST yapın. Tarayıcı alanları yollar. Formgong kaydı AB'de saklar ve Telegram'a hemen yazar. Ücretsiz planda da her kayıt için e-posta gelir.
Bu HTML formunu kopyalayın
<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>
Sayfada kalın: aynı alanları fetch ile gönderin
<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 ? "Gönderildi. Teşekkürler!" : "Gönderilemedi. Lütfen tekrar deneyin.");
if (result.success) form.reset();
} catch {
status.textContent = "Bağlantı kurulamadı. Lütfen tekrar deneyin.";
}
});
</script>HTML ile formlar nasıl çalışır
HTML yalnızca alanları paketler. Posta kutusunu açmaz ve posta kodu çalıştırmaz. Action, POST isteğini alan adrestir. Form uç noktası bu adrestir, bu yüzden statik sayfa PHP olmadan e-posta gönderir.
Mailto bağlantısı ziyaretçinin posta uygulamasını açar ve birçok telefon hiçbir şey göndermez. PHP mail, sizin çalıştırdığınız bir barındırıcı ister ve bu postalar sık sık spama düşer. Barındırılan uç nokta sayfayı bir dosya olarak bırakır.
HTML ile kurulum
- Formgong'da bir form oluşturun ve erişim anahtarını kopyalayın. Anahtar herkese açıktır ve sayfada durur.
- Yukarıdaki formu yapıştırın ve anahtarı değiştirin. Her alana bir name verin, yoksa tarayıcı onu göndermez.
- Gizli dil alanını sayfanın diline ayarlayın. Hatalar ve teşekkür sayfası siteyle aynı dili kullanır.
- İsterseniz kendi teşekkür sayfanızın tam https adresini gizli bir yönlendirme alanına yazın. Adres kendi sitenizde olmalıdır.
- Dosyayı yükleyin ve canlı adresten bir deneme gönderin. Telefona uyarı istiyorsanız ayarlardan Telegram'ı bağlayın.
mailto, PHP, Formspree, Web3Forms ya da Formgong
| Seçenek | Sizin çalıştırdığınız sunucu | Ne alırsınız |
|---|---|---|
| mailto: | Yok. Ziyaretçinin posta uygulaması açılır. | İleti ancak gönderirse gelir. Birçok telefon hiçbir şey yapmaz. Adresiniz görünür. |
| PHP mail() | PHP barındırıcınız ve onun postası. | O barındırıcıdan e-posta. Sık sık spama düşer ve betiği siz bakarsınız. |
| Formspree | Yok. Form Formspree'ye gönderir. | E-posta ve panel. Ücretsiz ayda 50 gönderim. Personal ayda 15 dolardır. |
| Web3Forms | Yok. Formda herkese açık bir anahtar. | Onların ucundan e-posta. Fiyat sayfası 2026-10-06 günü açılmadı, bu yüzden fiyat yok. |
| Formgong | Yok. Form Formgong'a gönderir. | Telegram ve e-posta hemen, Free planda da. Ayda 250 gönderim, veriler AB'de. |
Formspree fiyatları 2026-10-06 günü formspree.io/plans sayfasından alındı. Formgong sınırları ürün kodundan gelir. Web3Forms.com aynı gün HTTP 403 verdi, bu satır yalnızca yöntemi adlandırır.
Fiyatlar · Formgong vs Formspree
GitHub'da hazır başlangıç şablonu: github.com/formgong/html-starter. MIT lisansı: “Use this template” düğmesine tıklayın veya dosyaları kopyalayın.
Tek komutla yeni proje: npm create formgong@latest -- --template html (npm: create-formgong)
Mevcut projeye ekleyin: npx formgong init (npm: formgong)
Postayı hangi yol göndersin?
Gönderimden sonra sayfa değişebiliyorsa düz HTML kullanın. JavaScript kapalıyken, eski tarayıcılarda ve her statik barındırıcıda çalışır.
Ziyaretçi sayfada kalacaksa fetch kullanın. Betik formun altındadır. Yalnızca gerektiğinde açın.
PHP'yi yalnızca form kendi veritabanınıza yazacaksa tutun. Bir iletişim formu için barındırılan uç nokta daha az bakım ister.
Sorular ve yanıtlar
HTML iletişim formu kendi başına e-posta gönderir mi?
Hayır. HTML yalnızca alanları paketler. Posta, PHP ya da bir form uç noktası onları alıp postayı gönderir. Mailto bağlantısı ziyaretçinin uygulamasını açar ve sık sık başarısız olur.
PHP olmadan HTML formunu e-postaya nasıl gönderirim?
Bu sayfadaki formu yapıştırın ve anahtarı ekleyin. Tarayıcı Formgong'a gönderir. PHP ya da SMTP kurmazsınız. E-posta ve Telegram hemen gelir, Free planda da.
Mailto iletişim formunun nesi kötüdür?
Ziyaretçinin bir posta uygulaması olmalıdır ve adresinizi görür. Birçok telefon gönder düğmesinde hiçbir şey yapmaz. Kayıtlı kopya ve spam filtresi yoktur.
Ziyaretçi formu gönderince nereye gider?
Kendi dilinde bir teşekkür sayfasına ya da yönlendirme verdiyseniz kendi sayfanıza. Adres kendi sitenizde olmalıdır. Hatalar için ayrı bir sayfa kullanılabilir.
Ücretsiz plan her kayıt için e-posta atar mı?
Evet. Free her kayıt için en fazla 3 adrese hemen e-posta atar. Her kayıt gelen kutusunda da durur ve Telegram hemen yazabilir. Pro daha fazla alıcı ekler (en fazla 5).
Bu konudaki yazılar
- Statik sitenize sunucu kurmadan HTML iletişim formu ekleyin
- Mailto formu mu, form backend mi? Ne seçmeli
- Turnstile, reCAPTCHA ve hCaptcha karşılaştırması
- Web sitesi başvurularını Telegram'da karşılayın