First of all, every language is dynamic.
What you probably meant is "language that runs on the server side".
A simple way to resolve your issue is to use HTML "mailto".
Example:
<a href='mailto:[email protected]?subject=Assunto&body=conteúdo'>Enviar email</a>
Example with <form>
<FORM Action="mailto:[email protected]?Subject=Assunto" METHOD="POST">
mailto: protocol test:
<br />Assunto
<INPUT name="Subject" value="Test Subject">
<br />Mensagem
<TEXTAREA name="Body">
lorem ipsum
</TEXTAREA>
<br />
<INPUT type="submit" value="Submit">
</FORM>
Downside
User needs to have an email client installed and configured.
The vast majority of people don’t have it because they use Webmail or Messengers services like facebook messenger, twitter, Hotmail, yahoo, among others.
For Windows users, for example, the user will probably have Live Mail or Outlook Express on the screen, but without configuration.
It will probably click to send and will be thinking that the message was actually sent.
The same goes for any other operating systems.
Sending of forms services
Another way is to use third-party services. There are several services that provide a "action" URL for "<form>
".
Can you explain what you want to do with the form? IE, what is the use you want to give to the form data?
– Sergio
To submit the form you can use only HTML same, but to process the data sent you will need some programming language.
– Erlon Charles
Paraphrasing what @Sergio said: Where do you want to send the form?
– KaduAmaral
Depending on what you want to do you can use something like http:/jotformz.com, then you create and define a layout for the form and it stores and sends the data to you by email
– Erlon Charles
The only way I know is by using a <b>mailto<b> as an action, where the form goes to the email address of the parameter. See that Forms need actions to make sense. It can be a simple javascript function, which shows an alert, anyway... I agree with @Sergio, the question is not clear.
– Celso Marigo Jr