Contact Us Form - Without using anything 3rd party?

Associate
Joined
17 May 2025
Posts
65
Location
United Kingdom
Is there a way to make a contact us form without having to use anything 3rd party?

At the least I need one box for email address and one message box but later I may want to add some drop down options like size A, size B etc.

I designed a site for someone a few months ago that had one but they already had a form on their old site so all I had to do was modernise the code and style it.

It's for a site that uses very cheap hosting and looks like it has some limitations as to what you can access in the cPanel etc.
 
Is there a way to make a contact us form without having to use anything 3rd party?

At the least I need one box for email address and one message box but later I may want to add some drop down options like size A, size B etc.

I designed a site for someone a few months ago that had one but they already had a form on their old site so all I had to do was modernise the code and style it.

It's for a site that uses very cheap hosting and looks like it has some limitations as to what you can access in the cPanel etc.

It's not too difficult (as already mentioned) if you have access to SMTP via your host.

You could collect your form data, send it to a backend script of some description, and that backend script sends the email via SMTP. The backend might be PHP (using mail() or phpmailer()) or maybe nodejs and nodemailer.

The usual applies; don't expose anything sensitive client-side, sanitise inputs, and perhaps consider (RE)CAPTCHA to avoid/minimise spam.
 
Back
Top Bottom