Thanks for getting back with the details, this was the info that I was looking for. Based on what you have in your query and the way that the Store Order Details server behavior is setup it seems like you may just have the associations to the fields in your order details table misconfigured.
For example in the printed out query that you have the first column mentioned in the DetailID, but the first value you are passing into this column is 'Standard rudder'. This is not an appropriate value for this column. You should not be specifying any value for the id column, it should be automatically create for you when the record is inserted.
You should edit your store order details server behavior and re-associate the columns with the correct value. You should not specify anything for the DetailID, for the other columns you should set the values like this:
DetailOrderID $_SESSION["Swift_OrderID"]
DetailProductID product id column in the cart
DetailName the name column from the cart
DetailPrice the price column from the cart
DetailQuantity the quantity column from the cart
As for the Universal Email code that you have on the page there was a problem with the code that I posted, it should be updated to be like this instead:
$BurstSize = 200;
$BurstTime = 1;
$WaitTime = 1;