Print Page | Close Window

Mail sends anyway - AspMail

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz CAPTCHA
Forum Description: Support forum for the Web Wiz CAPTCHA security image.
URL: https://forums.webwiz.net/forum_posts.asp?TID=22609
Printed Date: 28 March 2026 at 9:08am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Mail sends anyway - AspMail
Posted By: balearicjobs
Subject: Mail sends anyway - AspMail
Date Posted: 05 February 2007 at 7:58pm
Hi I'm using your CAPTCHA code on my website to try and prevent spam.

I have installed it and it all seems to work great. Unfortunetly though even when I enter the information incorrectly the mail sends all the same (without the confirmation)

Here is the code I am using. I'd appreciate any advice to were I may have gone wrong

addvacancy.asp (the form)

[code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Balearic Jobs - Add Vacancy Page</title>
</head>

<body>
<table width="97%" border="0" cellpadding="5">
  <tr>
    <td width="241"><img src="../../images/companyname.gif" alt="Logo" width="241" height="134" border="1" align="left" /></td>
    <td><h1 align="center"><font face="Verdana, Arial, Helvetica, sans-serif">Employers
          Only Area<br />
      Add Your Vacancy</font></h1>
      <p align="center"><font size="-1"><a href="http://www.balearic-jobs.com" target="_top"><font face="Verdana, Arial, Helvetica, sans-serif">Click
              To Go Back To Home Page</font></a><font face="Verdana, Arial, Helvetica, sans-serif"> |
    To Remove A Vacancy, <a href="../../removevacancy.htm">Click Here</a></font></font></p></td>
  </tr>
</table>
<div align="center">
  <div align="left">
    <table width="99%" border="1" cellpadding="5">
      <tr>
        <td width="50%"><p><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">Optional:
              If you <a href="http://www.balearic-jobs.com/asp/mb/registration_rules.asp">register</a> (free)
              with Balearic Jobs <a href="http://www.balearic-jobs.com/asp/mb">message
              board</a> we will upgrade your account to Employers Status, this
              can take a few days however after this time you will be able to
              add vacancy's directly to the work available forums without having
              to come through this page. You may also continue to use this form
              if you wish. We offer this privilege as it will be used by professionals,
              however we reserve the right to remove (on a individual basis)
              this enhanced membership if we feel it is been abused</font></p>
          <p><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">Please
              be aware that we are only looking for advertisements that allows
              our readers to work on the Balearic islands and the rest of Europe
              only. <strong>NOT INCLUDING THE UK.</strong></font></p>
          <p><font size="-2" face="Verdana, Arial, Helvetica, sans-serif">By
              sending your vacancy to Balearic Jobs you are agreeing to allowing
              the information that you submit to be formatted and edited to suit
              the Balearic Jobs presentation. Also, although all efforts are
              made to reduce any abuse or misuse of information you are also
              agreeing that Mr Robert Clark (owner and webmaster of Balearic-Jobs.com
              and its contributors) have no legal responsibility for any resulting
              action from a third person or party in response to your information
              been published on Balearic-Jobs.com. All efforts are made to remove
              an advertisement as soon as possible once requested by the person(s)
              that submitted the vacancy originally however you also agree that
        there is no legal time period for removal of information from Balearic-Jobs.com.</font></p></td>
        <td width="50%" bgcolor="#CCCCCC"><p align="left"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong><font size="+1">Please
                  fill in as many questions as you are happy to answer</font></strong>.<br />
                  You
                  can give as much or as little information as you wish. The
                  advantages of giving more detailed information is that you
                  will get less irrelevant application emails. <br />
              <br />
          You must enter the following for your vacancy to be added successfully;</font></p>
          <ul>
            <li><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">Your
                name</font></li>
            <li><font size="-1" face="Verdana, Arial, Helvetica, sans-serif">A
                valid email address that <strong>you </strong>use</font></li>
  &nbs

-------------
Thanks for your help!!!
Kind Regards
Rob,
http://www.balearic-jobs.com" rel="nofollow - Balearic Jobs
Helping young people find seasonal work in the Balearic Islands, including vacancie



Replies:
Posted By: wacko2k7
Date Posted: 01 June 2008 at 4:34pm
hey, i also use CAPTCHA to validate all my forms that i create, and the way that it works for me is that i use the following code:

if request.form("SecurityCode") = Session("StrSecurityCode") then
<--Mail Send Script -->
else
<--redirect to error page-->
end if

this works 100% of the time and catches any stray characters etc.

if you have any problems then post back here and ill check again soon

:)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net