R
R
Roman Chasovitin2018-09-23 17:53:52
JavaScript
Roman Chasovitin, 2018-09-23 17:53:52

How to submit a form from a static page?

Hello. I am making a landing page consisting of 3 static pages on html+css+js. The landing page has a feedback form. The customer expressed a desire that the data from the form be sent in the form of an E-mail to the admin and the user himself. How can this be implemented? Are there any good mail servers? Few requests are expected daily, a maximum of 30-40 per day. The site will lie with the customer on the server, the use of Wordpress and other CMS is excluded. Ideally, send an asynchronous request to some apishka that will send letters. Are there such services, preferably free (or inexpensive)? Or would it be easier to make your own little php script or node.js server to do this? I am zero in the backend, so I ask for advice from experienced people.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Danil Sapegin, 2018-09-23
@ynblpb_spb

It’s easier to make your own little php script .. the more the task is simple and in my opinion this is the first thing that beginners encounter when learning php and the web in general (I mean the task of sending email).
And it's best to look for a script that can send using an smtp server, it's more reliable with delivery

S
Sergey, 2018-09-23
@gangstarcj

php.net/manual/en/function.mail.php Does it in 5 minutes.
Google send email with php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question