I searched google for days and I couldn't find anything that works for me. I would like a simple form with fields (Name, Ph number, Address) and a drop down menu with list of choices and i would like all that info to be emailed to me. I am looking for something without advertisement.

Thanks
NPatel

Dani AI

Generated

asked for an ad‑free form (Name, Phone, Address + dropdown) that emails submissions. Responses from and point toward two practical routes depending on whether you can run server-side code or not. Both are common and secure when implemented correctly.

If server-side code is available, use a maintained mail library rather than raw mail calls — for PHP, a library like PHPMailer is recommended. Key steps: validate and sanitize every field; protect against header injection; send via authenticated SMTP (TLS) using a domain email (not the user-supplied address); add rate limiting and a honeypot or CAPTCHA; and publish SPF/DKIM/DMARC records for your sending domain to avoid spam folders.

If you cannot or prefer not to host server-side code, use a form-handling service that forwards submissions to your inbox (no client-side SMTP credentials). Services such as Formspree accept POSTed form data and deliver it by email; check their domain-verification and pricing if you require guaranteed ad-free delivery. For either approach, enforce server-side validation, protect keys (never embed SMTP passwords in frontend JS), and test with multiple mail providers.

Troubleshooting notes: when messages land in spam, check SPF/DKIM and the sending IP reputation; inspect server or service logs to confirm delivery; and add clear subjects and minimal HTML to improve deliverability.

Recommended Answers

All 4 Replies

I searched google for days and I couldn't find anything that works for me.

Did you search in php.net ?

i need php script that sends email not php to be installed on server which supports php scripts

Umm.. you want a php script that sends email, but dont want to install php on the server ?
:-/ I am not sure where you will find one like that!

Without having PHP on your server you have no way to run your script on your server as it will not recognised and executed!

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.