Contact

GDPR contact form

Name, email, phone and message, plus a note on the privacy policy. Fits almost any website.

  • 4 fields
  • On the Free plan

After you sign in, Mailiy creates a hosted form with these fields. You can change everything in the editor before you publish it.

Fields included

  • NameName, required
  • EmailEmail, required
  • PhonePhone
  • MessageLong text, required

What to keep in mind

A contact form needs no consent because the person asks for a reply themselves. Do link your privacy policy in the note and set a short retention period, such as 90 days.

The notes in the template are examples, not legal advice. Check the texts before you publish the form, and link your own privacy policy.

As HTML on your own website

Prefer to build the form into your page yourself? Replace YOUR_ACCESS_KEY with your form's key from the dashboard. The script at the end is optional; with it the page stays put after sending.

<form action="https://mailiy.com/api/submit" method="POST">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY" />
  <input type="hidden" name="subject" value="New contact request" />
  <fieldset>
    <legend>Name</legend>
    <label>First name <input name="name.first" autocomplete="given-name" required /></label>
    <label>Last name <input name="name.last" autocomplete="family-name" required /></label>
  </fieldset>
  <label>Email
    <input type="email" name="email" autocomplete="email" required />
  </label>
  <label>Phone
    <input type="tel" name="phone" autocomplete="tel" />
  </label>
  <label>Message
    <textarea name="message" rows="5" required></textarea>
  </label>
  <p>We only use your details to handle your request. Our privacy policy has more on this.</p>
  <input type="checkbox" name="botcheck" style="display: none" tabindex="-1" autocomplete="off" />
  <button type="submit">Send</button>
</form>
<script src="https://mailiy.com/client/script.js" defer></script>

More templates

See all templates