Email sent to address depending on chosen subject

8/19/2009 3:11 pmRay BorduinWebAssist

That would work, or you could just add the code to the top of the page:<?php$defaultAddress = "you@yourcompany.com";if ($_POST['selection'] == "value 1") { $defaultAddress = "sales@yourcompany.com";} else if ($_POST['selection'] == "value 2") { $defaultAddress = "sales@yourcompany.com";}?>and then specify the email address as <?php echo($defaultAddress); ?> in universal email.

0

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.