OP-Form
What is OP-Form?
OP-Form is a lightweight, privacy-friendly contact form plugin developed by OptimNest, designed for small business websites, freelancers, and custom WordPress setups.
It includes:
- SMTP email sending
- Full color styling
- Spam protection options
- Built-in Google reCAPTCHA and Cloudflare Turnstile
- No external plugins required
🛡️ Anti-Spam Protection Options
You can enable any of the following protection layers from the plugin settings:
1. Honeypot & Time Check (Built-in, no keys needed)
Lightweight and invisible protection.
When Enable Anti-Spam Protection is checked in the plugin settings, it will:
- Add a hidden input field (honeypot) to catch bots
- Reject submissions made too quickly (under 3 seconds)
Recommended if you want simple protection without third-party services.
2. Google reCAPTCHA (v2 / v3)
Google’s bot detection system with support for:
- reCAPTCHA v2 (“I’m not a robot” checkbox)
- Invisible reCAPTCHA v2 (triggered automatically)
- reCAPTCHA v3 (score-based, no interaction)
To enable:
- Go to: https://www.google.com/recaptcha/admin
- Register your domain
- Choose type (v2 / Invisible v2 / v3)
- Copy your Site Key and Secret Key
- In your WordPress Admin:
- Enable reCAPTCHA
- Paste the keys
- Select your type from the dropdown
- Save settings
3. Cloudflare Turnstile (Free, privacy-first alternative)
Modern CAPTCHA alternative – no images, no challenges.
To enable:
- Go to: https://dash.cloudflare.com
- In the Turnstile section, click Add widget
- Fill in:
- Widget name: e.g. OptimNest OP-Form
- Domain: yourdomain.com
- Mode: Managed
- Pre-clearance: Off
- Click Create
- Copy your Site Key and Secret Key
- In your WordPress Admin:
- Enable Turnstile Protection
- Paste the keys
- Save settings
You can enable more than one protection layer (e.g., Honeypot + Turnstile) for stronger defense.
If both Turnstile and reCAPTCHA are enabled, both will be validated before sending the form.
📬 SMTP Settings Explained
Email To
Recipient address. Where the contact form messages go.
Example: info@example.com
From Email
Sender address. Should be from your domain.
Example: info@yourdomain.com
Success Message
Message shown after successful send.
Example: Your message was sent successfully.
SMTP Host
Your mail server (⚠️ don’t use http/https).
Example:
yourdomain.com
or
mail.yourdomain.com
→ Not recommended
SMTP Port
Used for email sending:
465
→ SSL587
→ TLS25
→ None (not secure)
SMTP Username
Usually your full email address.
Example: info@yourdomain.com
SMTP Password
Password for the email above. Required for login.
Encryption
Select the method used by your host:
SSL
→ Port 465TLS
→ Port 587None
→ Not recommended