Hi
I wants to send email after record edit but only those fields which are edited along with both old and new values.
I am trying following code but it is not working any help / guidance.
$email="example@email.com";
$from="example@email.com";
$msg="";
$subject="Record Edited - Claim ID ".$values['claimID'];
foreach($values as $field=>$value)
{
if(!IsBinaryType($pageObject->pSet->getFieldType($field)))
if($values!=$oldvalues)
$msg.= Lable($field)." : ".$value." : ".$oldvalues."\r\n";
}
$ret=runner_mail(array('to' => $email, 'subject' => $subject, 'body' => $msg, 'from'=>$from));
if(!$ret["mailed"])
echo $ret["message"];