Hooray!
I'm glad I picked up this thread, I was experiencing a similar problem
showthread.php?t=17722
Can someone at WA confirm, that if you have an 'if' statement in the code, that the 'edit in dreamweaver' option for UE4 doesn't give you the correct result.
Can I also assume that it would be a bad idea to edit the email via the server behavior interface once these changes have been hand coded ?
FYI my issue now appears to be resolved, the only other problem I had was that a value from a recordset want being included in the email, but this was fixed by moving the server behavior code block to below the recordset block.