Contents

 
Home
PHPRunner 8.0 manual
Prev Page Next Page
 
 

Send email with new data

 

To send an email with new data use Send email with new data action.

Available in following events:

step11-1-1

yellowbulbNote: Change the values listed in red to match your specific needs.

//**********  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"];

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)