This topic is locked
[SOLVED]

 Problem with send email with new data

11/11/2013 2:34:08 AM
PHPRunner General questions
romaldus author

PHPRUNNER generated app successfully send an email but with empty message (Message should contains field values)
PHPrunner After record added event:


[size="4"]
PHPRUNNER generated app send and empty message:[/size]

Graphix 11/11/2013

Hi

check your code you have an extra ] in your fields i.e
$msg.= "Halo".$values["NAMA_LENGKAP]"]."\r\n";
try this:
$msg.= "Halo".$values["NAMA_LENGKAP"]."\r\n";

$msg.= "Alamat".$values["ALAMAT"]."\r\n";

$msg.= "Jenis kel".$values["JENIS_KELAMIN"]."\r\n";
regards

Kevan

romaldus author 11/11/2013



Hi

check your code you have an extra ] in your fields i.e
$msg.= "Halo".$values["NAMA_LENGKAP]"]."\r\n";
try this:
$msg.= "Halo".$values["NAMA_LENGKAP"]."\r\n";

$msg.= "Alamat".$values["ALAMAT"]."\r\n";

$msg.= "Jenis kel".$values["JENIS_KELAMIN"]."\r\n";
regards

Kevan


Thanks Kevan. Solved. Phprunner intellisense added those ] signs automatically.

Graphix 11/11/2013



Thanks Kevan. Solved. Phprunner intellisense added those ] signs automatically.


You're Welcome <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=72795&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> glad you are sorted