Whitelist specific email and/or IP Address

Hello,
we have a client who utilizes an automated script that runs nightly to verify the functionality of their form. This script submits entries from a specific IP address and uses a designated email field. Recently, these submissions have been flagged as spam.

Could you please advise if there is a method to whitelist their IP address or email to ensure these submissions bypass spam filtering? For reference, the form in question is integrated with Google reCAPTCHA v3.

Your guidance on this matter would be greatly appreciated.

Hey Ryan, GF has lots of examples here of how you can use the gform_entry_is_spam filter to override the “Is Spam?” result:

I think the IP Rate Limit would be a great starting place for your use case.

1 Like

Thank you, David!
Could you please also explain what exactly happens when we click a “Not Spam” in the GF Entry? Does GF add this and all future entries from this user (email or IP address) to trusted entries (some kind of whitelist) or it just marked only the certain entry without impact on future ones? Thank you.

Marking an entry as “Not Spam” will not have any impact on future spam assessments. IPs and emails are not whitelisted.

The exception to this may be if you have Akismet enabled. I’m not sure if GF sends reports of false positives to Akismet. If they do, similar entries would be less likely to be marked as spam in the future.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.