The official lightweight JavaScript client for PostDrop — a headless form backend for modern websites.
Website • Documentation • Get Started
PostDrop lets you receive form submissions directly in your inbox without building backend APIs or configuring SMTP servers.
Perfect for:
- Static websites
- Portfolio websites
- Landing pages
- Frontend applications
- Indie projects
- Add the PostDrop CDN script
- Create a form with id
postdrop-form - Add your
data-public-id - Submit your form
PostDrop automatically handles:
- form submission
- spam filtering
- validation
- email delivery
- managing entries in dashboard
- Zero dependencies
- AJAX form submissions
- No page reloads
- Automatic loading state handling
- Spam protection support
- Works with any HTML form
<script src="https://cdn.jsdelivr.net/gh/PostDropcom/postdrop-cdn@main/js/script.js"></script><script src="https://cdn.jsdelivr.net/gh/PostDropcom/postdrop-cdn@1.0.0/js/script.js"></script><script src="https://cdn.jsdelivr.net/gh/PostDropcom/postdrop-cdn@main/js/script.js" defer></script>
<form id="postdrop-form" data-public-id="YOUR_PUBLIC_ID">
<input
type="text"
name="name"
placeholder="Your Name"
required
/>
<input
type="email"
name="email"
placeholder="Your Email"
required
/>
<button type="submit">
Send Message
</button>
</form>That’s it — submissions will now be sent directly to PostDrop.
PostDrop supports honeypot-based spam protection out of the box.
<input
type="text"
name="postdrop_honeypot"
style="display:none"
tabindex="-1"
autocomplete="off"
/>Full documentation is available at:
👉 https://postdrop.online/docs
MIT © PostDrop