Error in detailed from info in send email
Having trouble with emails sending and I'll start another thread about it a bit later, but I have just noticed that the formatting of the reply to is different to that of other fields such as CC. See below:
$Email->ReplyTo = "\".((isset($_POST[\"fld_cu_email\"]))?$_POST[\"fld_cu_email\"]:\"\") .\"";
$Email->addCC("".((isset($_POST["fld_cu_email"]))?$_POST["fld_cu_email"]:"") ."");
I click the 'From' button in UE to open the more detailed from info, I then click the lightening bolt to select the form field that I want to attribute to reply to field and click OK. If I then edit the server behaviour, I get an error pop up saying I have incorrectly formatted fields, when I check the reply to, the info entered before OK is different when it's reopened. The above is the resultant code.