it looks like you have hand coded the recordset loop for the to address?
1) Change this line:
if(is_array($_POST[$key])) $_POST[$key] = implode(", ", $_POST[$key]);
if(is_array($_POST[$key])) $_POST[$key] = implode("', '", $_POST[$key]);
you may need to comment this line:
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
2) in the from address recordset you are using a session variable, are you sure that session has a value? try adding this code at line 1:
<?php @session_Start(); ?>
if it is still not working, add this code after the body tag for troubleshooting:
<?php echo("SQL: ".$query_GetSender); ?>
post back the sql statement this generates.
for the form contents, the simplest way to get the form data in the email is to use one of the templates.
if you don't use a template, you need to click the DW edit button to design the email body and add the form bindings to the page manually.