GonnaLearnToday
Regular Member
- Dec 4, 2018
- 334
- 117
So I have a form, where people can contact me on my site. I'm seriously getting 20 spam messages, to every 1 legit request. So sometimes ill wake up, and have to filter through 80 messages to get 2-3 real responses.
The sendmail script is just a simple sendmail script.. I'm not to advanced at this shit, but its starting to bother me...
Example code:
The sendmail script is just a simple sendmail script.. I'm not to advanced at this shit, but its starting to bother me...
Example code:
Code:
<form action="http://www.xxxxxxxxxxxx.com/send.php" method="post" role="form" class="contactForm">
<div class="form-group">
<input type="text" name="name" class="form-control" id="name" placeholder="Name *" data-rule="minlen:4" data-msg="Please enter at least 4 chars" />
<div class="validation"></div>
</div>
<div class="form-group">
<input type="email" class="form-control" name="email" id="email" placeholder="Email Address *" data-rule="email" data-msg="Please enter a valid email" />
<div class="validation"></div>
</div>
<div class="form-group">
<input type="tel" class="form-control" name="phone" id="phone" placeholder="Phone Number" data-rule="phone" />
<div class="validation"></div>
</div>
<div class="form-group">
<textarea class="form-control" name="inquiry" id="inquiry" rows="5" data-rule="required" data-msg="Please write something for us" placeholder="Give us a brief description of your situation."></textarea>
<div class="validation"></div>
</div>
<div class="text-center">
<button type="submit" class="btn btn-theme btn-block btn-md">Send Message</button>
</div>
</form>