Thanks but still got a problem
Thanks Jason,
I have entered information into these fields but when the email arrives at my webmail the Return-Path field is <@adminemail@> and the emails are not accepted by Exchange.
I have tried setting the Return-Path to different values including my email, the senders email etc.
Sample code attached:
$WA_MailObject->ReplyTo = "".((isset($_POST["cEmail"]))?$_POST["cEmail"]:"") ."";
$WA_MailObject->ReturnPath = "".((isset($_POST["cEmail"]))?$_POST["cEmail"]:"") ."";
Reply to is set correctly.
Cheers
Rox