Hello,

I need a contact form on my website, that will send to my email address what the visitor enter in the form fields. The problem is that I can't run any php scripts.. is there a way to use some html form?:idea: :idea:

Dani AI

Generated

As noted, inability to run server-side scripts means looking at alternatives to a self-hosted PHP handler; is right that externally hosted form endpoints are one valid route. Below are practical options and tradeoffs that remain useful years later.

  • Static form services (no server code): try providers designed for static sites, such as Formspree. They accept form posts and forward to email with minimal setup.
  • Static-hosting platforms with built-in form handling: some hosts offer form capture as part of their service; see .
  • Embed a Google Form for a simple contact page: quick, reliable, and stores responses in Google Sheets (Google Forms).
  • mailto: links are an option but rely on the visitor having a configured mail client and give poor UX (see MDN on mailto links: mailto links).
  • Serverless + transactional email for full control: implement a tiny function (AWS Lambda) that sends via a provider like SendGrid when you need branding, templates, or guaranteed deliverability.

Checklist before going live: add spam protection (CAPTCHA or honeypot), require HTTPS, verify vendor data-retention/privacy (GDPR), and if sending from your domain configure SPF/DKIM so messages land in inboxes. For most non-developers the fastest, least-maintenance path is a static form service or an embedded Google Form; for production-grade deliverability and control, use serverless + a transactional email service.

Recommended Answers

All 2 Replies

I have already found a site that offers remotely hosted contact forms, www.emailmeform.com . Basically, I paste the html code in my website, and it calls the php script on their server who sends the email.
If you have any suggestions, please let me know...:!:

this is good option...without running any script on your site you can submit the form...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.