Skip to main content
Participant
March 5, 2021
Question

How to get the submit button to work

  • March 5, 2021
  • 1 reply
  • 177 views

Hi, im new to dreamweaver and have tried looking everywhere for the answer but can't seem to find anything, I have inserted a submit button but how ecatly do i get this to send me an email when the form has been sumbitted? Thank you in advance for any help!

 

    This topic has been closed for replies.

    1 reply

    Nancy OShea
    Community Expert
    Community Expert
    March 5, 2021

    HTML doesn't DO anything without a form processing script.  Form-to-email processing scripts come in different flavors depending on your hosting plan.  This mail sending package uses PHP code. 

    https://github.com/PHPMailer/PHPMailer

     

    Examples:

    https://github.com/PHPMailer/PHPMailer/tree/master/examples

     

    If you can't code or your server doesn't support scripts, use a 3rd party form service like Wufoo, JotForm or MailChimp and embed their form code into your document.

     

    Under no circumstances should you attempt to use MAILTO: because it doesn't work and it puts your email address at risk by spammers and bots.

     

    Nancy O'Shea— Product User & Community Expert
    Participant
    March 6, 2021

    Thank you, I will give this a go