Hi, I have used the manual code to send emails automatically when I add new data:
//** Send email with new data ****
$email="test@test.com";
$from="admin@test.com";
$msg="";
$subject="New data record";
$msg.= "Name: ".$values["name"]."\r\n";
$msg.= "Email: ".$values["email"]."\r\n";
$msg.= "Age: ".$values["age"]."\r\n";
$ret=runner_mail(array('to' => $email, 'subject' => $subject, 'body' => $msg, 'from'=>$from));
if(!$ret["mailed"])
echo $ret["message"];
My requirement is to automatically send new data if the value of "xyz" Field "aa". Otherwise no action.
Thank you.