DMXzone reCAPTCHA Support Product Page

In progress

Not working. Tell me what I'm doing wrong.

Reported 04 Jun 2012 17:49:35
1
has this problem
04 Jun 2012 17:49:35 Steve Skinner posted:
I just purchased this extension, thinking it would "just work". Well, it's not and I can't figure out why.

Dreamweaver CS6
Using traditional ASP

Form is here:
www.respondsystems.com/contact/test.asp

Form tag:
<form action="test.asp" method="post" name="form1" id="form1">

As instructed, the form submits to the page it's on, and executes a short script that sends the email using aspmail component. This script is at the top of the page:

<
%If Request.Form.Count > 0 Then
'*** send email to recipient
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")
Mailer.RemoteHost = "--not shown--"
Mailer.FromName	= Request.Form("name")
Mailer.FromAddress = Request.Form("email")
Mailer.AddRecipient "Recipient", "--not shown--"
Mailer.Subject = "A message sent from the website"
Mailer.BodyText	= "Name: " & Request.Form("name") & VBCRLF & _
		"Email: " & Request.Form("email") & VBCRLF & _
		"Phone: " & Request.Form("phone") & VBCRLF & _
		VBCRLF & _
		"Message:" & VBCRLF & _	Request.Form("comments")
		Mailer.Sendmail
		Response.Redirect "contact-confirm.asp"
		End If
%>


I inserted the reCaptcha using the extension, following the steps outlined in the first instructional video. It inserted this code at the top of my form page, above my script above that sends the email:

<!--#include virtual="/ScriptLibrary/dmxReCAPTCHA.asp" -->
<
%Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
  MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString)
End If

' boolean to abort record edit
Dim MM_abortEdit
MM_abortEdit = false
%>
<
%' DMXzone reCAPTCHA 1.0.2
Dim theCAPTCHA
Set theCAPTCHA = new dmxReCAPTCHA
theCAPTCHA.PrivateKey = "6LdgS9ISAAAAAPSeNpGP5cBAAQMgXh9P_jcXe82U"
theCAPTCHA.PublicKey = "6LdgS9ISAAAAANXqCVIkw-pC8rv3ygcN7BCy-l-P"
theCAPTCHA.Construct
%>


And this was put in the body of my form where I inserted it:
<%= theCAPTCHA.getControl("white","en") %>


I have the new file in the scriptlibrary uploaded, but it's not working. The captcha appears on the page all well and good, but it doesn't either require you to enter the captcha or even validate if you got it correct.

So what's the catch?

Replies

Replied 27 Jun 2012 18:16:04
27 Jun 2012 18:16:04 George Petrov replied:
Hi Steve,

Best way to do mail processing is together with our Smart Mailer extension. So you add the reCAPTCHA and the Smart Mailer on the same page. The Smart Mailer is now also compatible with reCAPTCHE so it can see if it is validated or not and send mail only when validated.

See this video of how it is done:
www.dmxzone.com/go?20081

and an extra video about redirect page usage:
www.dmxzone.com/go?20080

Greetings,
George
Replied 27 Jun 2012 18:27:51
27 Jun 2012 18:27:51 Steve Skinner replied:
Thank you for the reply.

Hopefully, the reCAPTCHA extension would work with any mail code I chose to use. I do use the smartmailer extension though so that's not a problem. However, in this case, the customer just wanted me to implement the captcha into their current form, and I was just trying to do a quick solution, instead of redoing the whole mail routine too.

I will test this out and see what happens after I update my extensions.
Replied 25 Sep 2015 20:38:01
25 Sep 2015 20:38:01 Steve Skinner replied:
Followed the steps on setting up a page with Smart Mailer and reCaptcha from this video:
www.dmxzone.com/go?20081

... but the page still submits even if you don't enter anything into the reCaptcha. Seems there's more to getting this working than just what's in the video.

Any tips to get it working on a simple classic ASP mail form using Smart Mailer?
Replied 09 Mar 2016 16:27:11
09 Mar 2016 16:27:11 Teodor Kuduschiev replied:
Hello,
A new version of reCAPTCHA has been released. It is updated and it is now based on the latest google API version. You can check it here: www.dmxzone.com/go/32330/dmxzone-recaptcha-2
Replied 29 Apr 2024 08:01:43
29 Apr 2024 08:01:43 Shweta Roy replied:
Our dancers understand the importance of discretion and professionalism, ensuring that your experience with them is kept completely confidential. They are also well-versed in the local culture and can provide a unique insight into the city of Rishikesh. With our Rishikesh Escorts Service , you can be assured of an unforgettable experience that will leave you coming back for more. So why settle for just a dance performance when you can also indulge in the company of our beautiful and talented female dancers? Book our call girl service in Rishikesh today and experience something truly extraordinary.

Reply to this topic