Email Validation legit addresses forms not processing

My website just started triggering this error when a form submission is being submitted

				// Check if score should be evaluated
				$emailScoreCheck = get_option( 'email_score_check' );
				$emailScore = floatval( get_option( 'email_score' ) );

				foreach( $invalidValues as $value ) {

					if ( rgar( $response_array, $value ) == false ) {
						$result['is_valid'] = true;
						$result['message']  = 'The email provided doesn\'t quite look right. Please try an alternative email address to avoid any issues with us receiving your enquiry.';
						$spamcount ++;
						update_option( 'st_gravity_block_count', $spamcount);
						break;
					}

					if ( $emailScoreCheck ) {
						if ( $response_array['score'] < $emailScore ) {
							$result['is_valid'] = false;
							$result['message']  = 'This email has a low reputation score and is considered high risk. Please try another email address. Apologies for the inconvenience.';
							$spamcount ++;
							update_option( 'st_gravity_block_count', $spamcount);
							break;
						}
					}
				}
			}
	    }
	}
 	
 	// Allow email to pass through otherwise
    return $result;

I had to change this field $result[‘is_valid’] = true; to True to send emails, it was set to False.

What is going on her and why are my emails being stopped from sending when there was no issue 1 week ago?

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