Giter Site home page Giter Site logo

Comments (8)

thomaspaulson avatar thomaspaulson commented on July 1, 2024

Hello Mike,
Unfortunately, you need mail server to work on local machine.
i will look into spam protection and come up with something soon.

from silverstripe-contactform.

mhenden avatar mhenden commented on July 1, 2024

That sounds great thanks Thomas — love SilverStripe but I’m not really a programmer and am starting to feel really out of my depth here!! If mail issues just down to local environment and will work fine on live server that’s great, but I really want some sort of spam protection in place before I upload site — I’ve had too many problems with form spam in the past!

On 25/07/2014, at 4:28 pm, thomas paulson [email protected] wrote:

Hello Mike,
Unfortunately, you need mail server to work on local machine.
i will look into spam protection and come up with something soon.


Reply to this email directly or view it on GitHub.

from silverstripe-contactform.

voodoomajik avatar voodoomajik commented on July 1, 2024

Hi There
Have you managed to have a look at this? i am currently using you module in a project and can see it being useful in the future as well. i have just spent a couple of hours trying to get the spam protection going with no luck. it would be nice to have it going. i will have another go at it when i have some time but if you have some ideas it would be a help.

from silverstripe-contactform.

thomaspaulson avatar thomaspaulson commented on July 1, 2024

Hello

I have enabled support for spam protection and I have tested with math spam protection module, also rename the ContactForm.ss to ContactForm.ss_ so that spam feild is visible by default Form template file

from silverstripe-contactform.

thomaspaulson avatar thomaspaulson commented on July 1, 2024

Hello Boys, hope enabling spam protection helped you solve the issue, do reply

from silverstripe-contactform.

mhenden avatar mhenden commented on July 1, 2024

Hi thomas.paulson, sounds great. How do I get spam protection to work? Also where do I configure where form is to be sent to? The _config.php file?

from silverstripe-contactform.

thomaspaulson avatar thomaspaulson commented on July 1, 2024

Hello mike, you can enable spam protection as metioned in this link https://github.com/silverstripe/silverstripe-spamprotection.

Below is the code which I used to test spam protection with MathSpamProtector ( https://github.com/silverstripe/silverstripe-mathspamprotection )

mysite/_config/spamprotection.yml

---
name: spamprotection
---
FormSpamProtectionExtension:
  default_spam_protector: MathSpamProtector

from silverstripe-contactform.

mhenden avatar mhenden commented on July 1, 2024

Hi ThomasPaulson

Have checked this out. Looks straightforward, although after reading the GitHub page I have some reservations about MathSpamProtector security. Have you tried with Recaptcha? I’m guessing the spam protection.yml file would look as follows:


name: spamprotection

FormSpamProtectionExtension:
default_spam_protector: RecaptchaSpamProtector

Also, I’m wondered where to set information for recipient of form (i.e. me)? Can you please advise?

Tried to send a form to see what happens without filling in email address and it locked my browser up, which was annoying. Had to crash the machine to get out of it!

Probably all very basic to you, but I’m actually a Graphic Designer who does websites, not a programmer!

thanks
MIKE

14 Brees Street, Lower Hutt, Wellington, New Zealand

p: 04-577 0243, m: 027 4419 273, e: [email protected]
w: www.mhdesign.co.nz

On 17/06/2015, at 5:28 pm, thomas paulson [email protected] wrote:

Hello mike, you can enable spam protection as metioned in this link https://github.com/silverstripe/silverstripe-spamprotection.

Below is the code which I used to test spam protection with MathSpamProtector ( https://github.com/silverstripe/silverstripe-mathspamprotection )

mysite/_config/spamprotection.yml

name: spamprotection

FormSpamProtectionExtension:
default_spam_protector: MathSpamProtector


Reply to this email directly or view it on GitHub.

from silverstripe-contactform.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.