Ian H,
This is the email body that is being stored in the database by the email logging.
julie,
If all you want in the database is the dynamic form input, add the following at line 1 of your page:
<?php
if (($_SERVER["REQUEST_METHOD"] == "POST")) {
@session_start();
$_SESSION['mailBody'] = "";
foreach( $_POST as $pkey => $pval ){
$_SESSION['mailBody'] .= "".str_replace("_"," ",$pkey).": ".str_replace("\n","<BR />",(is_array($pval)?implode(", ",$pval):$pval))."<br />";
}
}
?>
then go to the bindings panel, click the plus button and select Session Variable and name it "mailBody"
edit the universal Email instance, and go to the logging section. For the mail body column, click the lightning bolt next to value and select the mailBody session variable from the dynamic bindings.