Okay
  Public Ticket #1144170
Contact Spam
Closed

Comments

  • jerome started the conversation

    Hello, 

    The contact form do not has a captcha or simple anti-spam proctection, can you give me a code with verification like 1+3=4 or a captcha because I recieve more than ten spam mails per day :-(

    Thanks !

    Jerome

  •  7
    Michael replied

    Hey,

    You can use https://www.google.com/recaptcha/intro/invisible.html

    Please open your html file and add this line to head

    [...]
    <script src="https://www.google.com/recaptcha/api.js" async="" defer=""></script>
    [...]
    

    Add this code to contact form

    <div class="col-md-12 mb-20">
    <div class="g-recaptcha" data-sitekey="Your-Google-reCaptcha-Site-Key"></div>
    </div>
    

    Add new sendemail.php file with your reCaptcha Secret Key.

    If you need help please send me adress to your website.

    Have a Nice Weekend

    Michael

    Attached files:  sendemail.php

  • jerome replied

    Good Work, it work's ! So many thanks