you have the insert set to use a diferant trigger than the one for sending the email.
change the trigger code for the insert at line 74- 75:
if (isset($_POST["submit_x"])) // Trigger
if (isset($_POST["submit"])) // Trigger
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.