Put my email to receive the contact messages

5

Where do I add my email to receive the messages from the contact form?

<form name='contact-form'>
<div class='fm_namer'>
<input class='contact-form-name' id='ContactForm1_contact-form-name' name='Nome' onblur='this.placeholder = &apos;Name&apos;' onfocus='this.placeholder = &apos;&apos;' placeholder='Nome' size='30' type='text' value=''/>
<input class='contact-form-email' id='ContactForm1_contact-form-email' name='email' onblur='this.placeholder = &apos;E-mail&apos;' onfocus='this.placeholder = &apos;&apos;' placeholder='E-mail' size='30' type='text' value=''/></div>
<div class='fm_message'>
<textarea class='contact-form-email-message' cols='25' id='ContactForm1_contact-form-email-message' name='email-message' onblur='this.placeholder = &apos;Message&apos;' onfocus='this.placeholder = &apos;&apos;' placeholder='Mensagem' rows='7'/>
<input class='contact-form-button contact-form-button-submit' id='ContactForm1_contact-form-submit' type='button' value='Enviar'/>
<div class='contact-form-error-message' id='ContactForm1_contact-form-error-message'>
</div>
<div class='contact-form-success-message' id='ContactForm1_contact-form-success-message'>
</div>
</div>
</form>
    
asked by anonymous 04.10.2017 / 15:17

2 answers

0

Only with html would the solution be:

<form name='contact-form' action="mailto:[email protected]"">

Or using some programming language, if it is the case edit your question by adding the language you are using ...

    
04.10.2017 / 15:29
-1

Hello @Miguel Filipe. You can use PHP code to send the e-mail. Only with HTML this is not possible. I recommend the PHPMailer library.

link In the GIT of them you will find several examples.

Until victory always

    
04.10.2017 / 15:25