Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


Shindig

1621 posts

Uber Geek
+1 received by user: 362

Trusted

#315814 19-Aug-2024 09:07
Send private message

Hello.

 

Looking at a basic HTML contact us form, and need server-side functionality to send the email to me. 

 

Is PHPMailer still the go to in 2024, or has new secure functionality via JS or something been created?

 

Thoughts please, cheers





The little things make the biggest difference.


Create new topic
SirHumphreyAppleby
2939 posts

Uber Geek
+1 received by user: 1860


  #3273366 19-Aug-2024 09:18
Send private message

These days, people tend to use API-based e-mail sending services such as SMTP2Go.




michaelmurfy
meow
13580 posts

Uber Geek
+1 received by user: 10910

Moderator
ID Verified
Trusted
Lifetime subscriber

  #3273376 19-Aug-2024 09:42
Send private message

Contact-us forms are also very likely to get spammed. Ensure it has Captcha on it too.

 

Cloudflare + Cloudflare Turnstile (free) along with just using Wordpress + something like Contact Form 7 as well as the Simple Turnstile plugin isn't a bad mix.





Michael Murphy | https://murfy.nz
Referral Links: Quic Broadband (use R122101E7CV7Q for free setup)

Are you happy with what you get from Geekzone? Please consider supporting us by subscribing.
Opinions are my own and not the views of my employer.


SirHumphreyAppleby
2939 posts

Uber Geek
+1 received by user: 1860


  #3273379 19-Aug-2024 09:48
Send private message

michaelmurfy:

 

Contact-us forms are also very likely to get spammed. Ensure it has Captcha on it too.

 

 

Seconded. The very first e-mail I received via my contact page on my obscure little Website was presumably from a bot trying to post links on the site. I threw together a quick maths-based challenge and haven't had any since (a proper captcha should be better).




Shindig

1621 posts

Uber Geek
+1 received by user: 362

Trusted

  #3273405 19-Aug-2024 11:33
Send private message

Thank you. I have implemented a CF turnstile. I will check out SMTP2GO.

 

Thanks for the suggestions.





The little things make the biggest difference.


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.