email from pdf report, data not being displayed

i have added below code to the onrecord event of the pdfreport,

// Email parameters
$mail_smtp_server = ‘secure.xxxxx.com’; // SMTP server name or IP address
$mail_smtp_user = ‘xxxx@xxxx.com’; // SMTP user name
$mail_smtp_pass = ‘xxxxxxxxx’; // SMTP password
$mail_from = ‘xxxxx@xxxx.com’; // From email
$mail_to = ‘xx@xxxxx.com’; // To email
$mail_subject = ‘New CGWA report Generated for id [rechcal_urrid]’; // Message subject
$mail_message = ‘Report generated by {personname}<br>Mobile no {Personmobile}<br> Company Name {companyname}<br>Email Address {Personemail}<br> Location {locationnickname} {district} <br>URRID - [rechcal_urrid]’; // Message body
$mail_format = ‘H’; // Message format: (T)ext or (H)tml
$mail_copies = ‘’; // List of the emails that will recieve the message
$mail_tp_copies = ‘’; // Type copies: BCC (Hiden copies) or CCC (Regular copies)
$mail_port = ‘465’; // Server port
$mail_tp_connection = ‘S’; // Connection security (S) or (N)

// Send email";
sc_mail_send($mail_smtp_server,
$mail_smtp_user,
$mail_smtp_pass,
$mail_from,
$mail_to,
$mail_subject,
$mail_message,
$mail_format,
$mail_copies,
$mail_tp_copies,
$mail_port,
$mail_tp_connection);

The email which i rcvd was below without the data, am i missing something

Report generated by $this->personname[$this->nm_grid_colunas]
Mobile no $this->personmobile[$this->nm_grid_colunas]
Company Name $this->companyname[$this->nm_grid_colunas]
Email Address $this->personemail[$this->nm_grid_colunas]
Location $this->locationnickname[$this->nm_grid_colunas] $this->district[$this->nm_grid_colunas]
URRID - $this->sc_temp_rechcal_urrid