Advanced Email Filter for Elementor Forms
WordPress plugin providing advanced email filtering for Elementor Pro Forms — block disposable or unwanted submissions with global and form-specific rules.
A WordPress plugin that provides advanced email filtering for Elementor Pro Forms. Use global and form-specific rules to block disposable or unwanted email submissions and allow trusted senders through.
Author: Mahidul Islam Mukto Knowledge Base: Advanced Email Filter for Elementor Forms - WP Plugin
Getting Started
Before diving into the configuration, let's get the plugin up and running on your WordPress site. This plugin integrates seamlessly with Elementor Pro Forms and requires minimal setup to start filtering emails.
Installation
- Download the plugin ZIP file from WordPress.org
- Go to WordPress Dashboard → Plugins → Add New
- Click "Upload Plugin" and select the ZIP file
- Click "Install Now" and then "Activate"
Requirements
- WordPress 5.6 or higher
- Elementor Pro (latest version recommended)
- PHP 7.4 or higher
Global Settings
Accessing Global Settings
Global settings allow you to set up site-wide email filtering rules for all your Elementor forms. These settings serve as your first line of defense against unwanted submissions.
To access:
- Navigate to WordPress Dashboard
- Go to Email Filter → Settings
- Configure your desired settings
Global Allowlist Configuration
The allowlist ensures that trusted email addresses always get through, regardless of other filtering rules. This is perfect for whitelisting important clients or team members.
- Add trusted email patterns
- Supports multiple formats:
- Full email:
[email protected] - Domain wildcard:
*@domain.com - TLD allowlist:
*.org - Partial match:
admin@
- Full email:
- Separate multiple patterns with commas
- Allowlist overrides all blocking rules
Global Blocklist Configuration
The blocklist helps you prevent submissions from known spam sources, disposable email services, or specific domains you want to block.
- Block unwanted email patterns
- Supports multiple formats:
- Full email:
[email protected] - Domain block:
@spamdomain.com - TLD block:
*.ru - Partial match:
temp-
- Full email:
- Separate multiple patterns with commas
- Blocked unless matched by allowlist
Disposable Email Filter
Prevent temporary and throwaway email addresses from submitting your forms, ensuring you receive only legitimate contact information.
- Blocks temporary email services
- Updates every 7 days
- Prevents spam submissions
- Enable/disable globally
Business Email Filter
Perfect for B2B websites and professional services, this feature ensures that submissions come from business email addresses rather than personal email accounts.
- Blocks common free email providers
- Updates every 7 days
- Blocks domains like:
- gmail.com
- yahoo.com
- hotmail.com
- outlook.com
- Enable/disable globally
Form-Specific Settings
Accessing Form Settings
While global settings protect all your forms, form-specific settings allow you to customize filtering rules for individual forms. This is particularly useful when different forms serve different purposes.
To access:
- Edit page with Elementor
- Edit form widget
- Find "Email Filtering" section
Form-Level Blocklist
- Additional blocking for specific forms
- Works alongside global rules
- Useful for:
- High-security forms
- Contact forms
- Registration forms
Form-Level Allowlist
- Override global blocks for specific forms
- Same pattern format as global settings
- Useful for:
- Client-specific forms
- Department-specific rules
- Special campaigns
Business Email Mode
- Toggle business-only emails
- Form-specific override
- Useful for:
- B2B contact forms
- Partner registration
- Enterprise submissions
Disposable Email Blocking
- Toggle temporary email blocking
- Form-specific control
- Recommended for:
- Lead generation forms
- Subscription forms
- Registration pages
Pattern Syntax Guide
Understanding pattern syntax is crucial for creating effective filtering rules. This section explains the different ways you can match email addresses.
Full Email Match
- Format:
[email protected] - Blocks/allows a specific email address
- Case-insensitive matching
Domain Wildcards
- Format:
*@domain.com - Blocks/allows an entire domain
- Includes all subdomains
Partial Matching
- Format:
keyword@ - Matches any part of an email
- Case-insensitive
TLD Blocking
- Format:
*.tld - Blocks/allows an entire top-level domain
- Example:
*.rublocks all Russian domains
Troubleshooting
Email Validation Issues
Emails Not Being Blocked
Symptoms:
- Unwanted emails still submitting successfully
- Disposable emails getting through
- Personal emails accepted on business-only forms
Solutions:
- Check Global Settings
- Verify if filters are enabled
- Review allowlist patterns
- Confirm blocklist patterns
- Test business email mode
- Review Form Settings
- Check form-specific overrides
- Verify form field configuration
- Test form validation
- Pattern Syntax
- Validate wildcard usage
- Check comma separation
- Verify domain formatting
Legitimate Emails Being Blocked
Symptoms:
- Valid business emails rejected
- Allowlisted emails not working
- Customer complaints about submission errors
Solutions:
- Check Allowlist Configuration
- Verify pattern syntax
- Add domain variations
- Include subdomains if needed
- Business Email Filter
- Review blocked domains
- Add exceptions for valid providers
- Update filter settings
- Form Configuration
- Check error messages
- Verify field validation
- Test with sample emails
Elementor Problems
Symptoms:
- Plugin not showing in Elementor
- Settings page not accessible
- Forms not recognizing filters
Solutions:
- Plugin Compatibility
- Update Elementor Pro
- Check plugin version
- Verify WordPress version
- Installation Issues
- Reinstall plugin
- Check file permissions
- Verify activation status
- Conflict Resolution
- Disable other form plugins
- Check theme compatibility
- Test in default theme
Plugin Configuration
Settings Not Saving
Symptoms:
- Changes not persisting
- Settings reverting back
- Save button not responding
Solutions:
- WordPress Environment
- Clear cache
- Check permissions
- Verify user role
- Browser Issues
- Clear browser cache
- Try different browser
- Disable conflicting plugins
- Server Configuration
- Check PHP version
- Verify WordPress permissions
- Review error logs
Performance Issues
Slow Form Submission
Symptoms:
- Delayed form processing
- Timeout errors
- Slow validation response
Solutions:
- Server Performance
- Check server resources
- Monitor PHP memory
- Review database queries
- Plugin Optimization
- Minimize pattern complexity
- Optimize validation rules
- Clear plugin cache
- Form Configuration
- Simplify validation rules
- Remove unnecessary patterns
- Test form response time
Developer Guide
Available Filters
Custom Messages
// Example: Customize blocked email message
add_filter('aefe_validation_error', function($message, $email) {
return sprintf('Sorry, %s is not allowed for this form.', $email);
}, 10, 2);
Frequently Asked Questions
General Questions
Get answers to common questions about plugin functionality, configuration, and troubleshooting.
- Can I use this plugin with other form plugins?
- No, this plugin is specifically designed for Elementor Pro Forms
- Not compatible with Contact Form 7, Gravity Forms, or other form plugins
- Does it work with all Elementor Pro versions?
- Compatible with Elementor Pro 3.0 and above
- Recommended to use the latest version for best performance
- Will it block legitimate business emails?
- No, if properly configured
- Use allowlist for trusted domains
- Business email filter is regularly updated
Configuration Questions
- Can I use multiple patterns in one rule?
- Yes, separate patterns with commas
- Example:
*@company.com, admin@, *.trusted.org
- Which takes priority — global or form settings?
- Allowlist always takes highest priority
- Form-specific rules combine with global rules
- Order: Form Allowlist > Global Allowlist > Form Blocklist > Global Blocklist
- How do I allow specific free email addresses?
- Add them to the allowlist
- Can be added globally or per-form
- Example:
[email protected]
Technical Questions
- Does it affect form submission speed?
- Minimal impact on performance
- Validation happens server-side
- Optimized database queries
- Can I export/import filter settings?
- Settings are stored in WordPress options
- Use WordPress import/export tools
- Backup settings before major changes
- How are updates handled?
- Automatic WordPress plugin updates
- Database updates every 7 days
- No manual intervention required