
Follow the below steps to enable Google reCaptcha protection for your form.ġ. PHP Email Form comes with built in support for the latest version 3.0 of Google reCaptcha. Google reCaptcha is the most popular form submission protection in the world. You can change the filed name first_name as you wish.
#PHP EMAIL OBFUSCATOR GENERATOR CODE#
Then, edit your /forms/contact.php and add the below code just before the line echo $contact->send() $contact->honeypot = $_POST To use the honeypot method:įirst, edit your form and add an extra filed, e.g: If the honeypot field is filled in, we can confidently reject the form as spam.
Spam bots fills it thinking that it’s a standard required field and alert us it’s activity. You just add an extra field to your form, which is hidden for your users and not filled while submitting it. Honeypot method is a very clever method of spam protection. You can add extra spam protection to your forms by using the below 2 methods. We use AJAX method of form submission by default which stops most of the spam bots. The line echo $contact->send() $contact->cc = array(' ', ' ') Edit and add the below code to your forms/contact.php just before You can also add multiple receiving email addresses for the submitted forms via cc and bcc methods. Adding multiple receiving email addresses You need to uncomment the SMTP configuration lines and add your credentials. The /forms/contact.php also comes with a configuration for SMTP, in case your hosting doesn’t allow sending emails with the PHP mail() function. PHP Email Form uses the PHP mail() function for mailing by default. Edit /forms/contact.php and replace with your email address and you’re done!.
#PHP EMAIL OBFUSCATOR GENERATOR PRO#

You just need to configure your receiving email address if you have PHP support on your hosting. The PHP Email Form works out of the box with our contact forms. We do provide contact forms in all our templates. Setting up the PHP Email Form as a contact form
