I wrote:
$templateData = array(
'WelcomeMessage' => $welcomeMsg, // Accessible in template via $WelcomeMessage
'VarFirstName' => $SignupFirst,
'VarEmail' => $SignupEmailAddress,
'VarPassword' => $SignupPwd,
'VarSurname' => $SignupSurn
);
$email->populateTemplate($templateData);
and my SignUp.ss template is:
<h3>Hi, $VarFirstName $VarSurname.</h3>
<br/>
<p>$WelcomeMessage</p>
<ul>
<li><strong>Email:</strong>$VarEmail</li>
<li><strong>Password:</strong>$VarPassword</li>
but my template vars on signup.ss are not populated. Only $WelcomeMessage. Why?