mail()
I want an email sent upon submit of a form. The attached file is working, but it sends two emails (duplicates) each time I submit.
How do I fix this?
 
 
     11/02/2021 4:39 am  |  #1 birdscreen398247
11/02/2021 4:39 am  |  #1 birdscreen398247  I want an email sent upon submit of a form. The attached file is working, but it sends two emails (duplicates) each time I submit.
How do I fix this?
 11/02/2021 9:14 am  |  #2 Ray BorduinWebAssist
11/02/2021 9:14 am  |  #2 Ray BorduinWebAssist
        Put your email code inside your IF statement so it only sends after the form is posted. Currently it sends when the page loads and a second time when the form submits.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.