Email-Icon Created with Sketch. Group 3 Created with Sketch. Domains-SVG-Box Created with Sketch. Domains-SVG-Box Created with Sketch. Domains-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Icon-Internet Created with Sketch. Hosting-SVG-Box Created with Sketch. Icon-Internet Created with Sketch. Icon-Internet Created with Sketch. Hosting-SVG-Box Created with Sketch. Hosting-SVG-Box Created with Sketch. Trust Pilot Stars Created with Sketch. 1-5-million Created with Sketch. Control-panel-Icon Created with Sketch. WSB-Brush Created with Sketch. WSB-Brush Created with Sketch. WSB-Brush Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Email-Icon Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. Icon-ECommerce-Seperator Created with Sketch. icon-slider-next Created with Sketch. icon-slider-prev Created with Sketch. Webmail-icon Created with Sketch. heart Created with Sketch. Open-24-7 Created with Sketch. open24 Created with Sketch. 24 7 trusted Created with Sketch. Fill 1 Created with Sketch.

Hoe stel ik FormMail in?

Let op:
De volgende code is slechts een voorbeeld van hoe een formmail gebruikt kan worden.
Wijzig de verschillende velden om dit aan te passen aan uw website.
  1. Vervang example.com door uw domein.
  2. Vervang email@example.com door uw eigen e-mailadres.
  3. Creëer een webpagina waarnaar uw bezoekers worden doorverwezen nadat er een mail verzonden is
    en vervang deze locatie door de nieuwe pagina:

    http://www.example.com/bedankt.html

  4. Ten slotte, creëer een webpagina waarnaar uw bezoekers worden doorverwezen nadat er iets fout is gegaan bij het verzenden
    en vervang deze locatie door uw nieuwe pagina:

    http://www.example.com/fout.html

  5. Voeg de code toe op uw website.
<form method="post" action="http://www.example.com/cgi-bin/FormMail.pl" accept-charset="ISO-8859-1" onsubmit="var originalCharset = document.charset; document.charset = 'ISO-8859-1'; window.onbeforeunload = function () {document.charset=originalCharset;};"> Naam <br /> <input name="realname" /> <br /> E-mail <br /> <input name="email" /> <br /> Bericht <br /> <textarea cols="40" rows="10" name="Message"></textarea> <br /> <input type="submit" value="Verstuur" /> <input type="hidden" name="recipient" value="email@example.com" /> <input type="hidden" name="subject" value="Subject" /> <input type="hidden" name="redirect" value="http://www.example.com/bedankt.html" /> <input type="hidden" name="missing_fields_redirect" value="http://www.example/fout.html" /> <input type="hidden" name="required" value="realname,email,Message" /> </form>