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.
Possible duplicate of Send form data by e-mail
– Sam
Which language you use, PHP?
– Sam
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
– MagicHat
Possible duplicate of How to send an email from an HTML site form?
– MagicHat
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
– cicada 3301
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.
– Diego Vieira
Possible duplicate of How to send emails only with HTML5 basics
– Guilherme Nascimento
I do not understand why this question was not marked as duplicate even after so many signs.
– Laércio Lopes