Help with Form Component for Email

Can someone help me figure out what I’ve done wrong with my form on my contact page? I’m trying to configure email using SSL but for some reason when I publish the submit button doesn’t do anything. I’ve uploaded the project. elementsapp://downloadDocument/7ePZv564suPE

one thing youve done wrong is share your email host password here!!!

change it quick

Ok I deleted the file as well. Is there someone who can advise on setting up this form the right way?

im sure someone will get back to you

I did notice you dont have an error and success component in your form…..thats a must…and try the TLS 587 security setting.

I added the error and success. I tried to send and it says error. I tried SSL port and TLS 587 and that did not work either.

make sure host is php 8.1 or higher…..I took me ages to get mine to work….who is your host?

It’s on 8.4 the host is webhostinghub. Is filename supposed to be index.php or index.html?

My host says it seems like it’s connecting but Elements is disconnecting me.

They gave me this data:

Apr 13 06:12:05 ehub68 dovecot: imap-login: Login: user=<kevin@kevinrayworks.com>, method=PLAIN, rip=67.245.240.168, lip=173.205.127.241, TLS, TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)

Apr 13 06:12:05 ehub68 dovecot: imap(kevin@kevinrayworks.com)<1733538>: Disconnected: Connection closed (UID SEARCH finished 0.035 secs ago) in=527, out=2007, bytes=527/2007

Apr 13 06:12:05 ehub68 dovecot: imap(kevin@kevinrayworks.com)<1733529>: Disconnected: Connection closed (UID SEARCH finished 0.079 secs ago) in=676, out=128899, bytes=676/128899

Apr 13 06:12:05 ehub68 dovecot: imap(kevin@kevinrayworks.com)<1733498>: Disconnected: Connection closed (UID SEARCH finished 0.006 secs ago) in=1124, out=99970, bytes=1124/99970

What’s annoying me is I set this up using one of the templates in Elements so why was it set up without the success and error messages?

@differentdan can you help here?

Hi @mintyfreshsmile

Looks like you pulled the Elements project file download. Can you post a link to the project file again but make sure to remove the email password in the form settings beforehand. Then I can check to see what settings you have.

I do notice this in the browser console, so I’m guessing a reCaptcha error, but I’d need to see what you have in the form settings to confirm.

Dans the man! :slight_smile:

Yeah based on the project file you posted in this post Anchor not working in IOS it’s your reCaptcha settings:

Try changing the Service drop-down menu to HoneyPot and then republishing..

Let us know how you get on.

Thank you @differentdan! Changing to HoneyPot worked! I tested and the email worked. Mystery solved :wink:

@differentdan the only thing is with this setting I’m already getting some pretty ugly spam. I wasn’t getting that on the RWC version. Is HoneyPot the best way to keep the spam away? I just changed it today and already I got a really gross email.

Hi @mintyfreshsmile

I’d recommend using one of the captcha options then. Do you have a Cloudflare account? If yes, Turnstile is the best in my opinion.

If you don’t have a Cloudflare account, and instead have a Google account, you can try their reCAPTCHA v3  |  Google for Developers and set up some keys (that’s the reason your form wasn’t working originally, you had it set to Google reCaptcha but didn’t have any keys set up).

Turnstile is what I use, and it is really good, and it is not much effort to set up. When forms first became available to Elements, I tried reCAPTCHA and quickly gave up as it was a nightmare. Turnstile is clean and easy.

Hey @differentdan I have an email account that comes with my Webhostinghub server so I am using that.

Ok. Both Cloudflare Turnstile and Google reCaptcha are separate services though. You’d have to sign up for them independently of your web hosting provider…

As @handshaper mentioned, I’d recommend Cloudflare Turnstile, much better than Google. :slightly_smiling_face:

I tried setting up turnstile for both of my websites but when trying to get to the final screen I get an “authentication error” message from Cloudflare. Not sure what I need to do…

Jeff