Contact form

Asked

Viewed 106 times

0

Good night.

Guys, next.

I’m just starting out in HTML5, so I don’t know much yet.

I did the whole visual part (CSS) of a contact form (like course work), but I’m not very good with html itself, so my question is as follows:

Which codes should I use for when someone clicks "Send", the message actually go to the email? Because doing tests, when I click on "Send" nothing happens, just redirect to the index.

If anyone can help, I’d appreciate it.

  • 3

    Possible duplicate of Send form data by e-mail

  • Which language you use, PHP?

  • https://answall.com/questions/185238/enviar-email-somente-com-html/185240#185240 e https://answall.com/questions/122238/como-enviar-um-email-a-partir-de-um-formulario-de-um-site-em-html

  • 1
  • you can do this with javascript and php and with a button of type Submit, remember to leave your form inside the tag <form></form> I believe that with only html it is not possible to solve your problem, I could be wrong. You can insert an ajax into your code, but you need to create a php file

  • For this you need to use a programming language. PHP, for example. In the case of PHP, you can use the function mail native in it or the class Phpmailer.

  • I do not understand why this question was not marked as duplicate even after so many signs.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.