I’m creating emails from a batch script in symfony 1.4 w/ propel
Trying to set the body of the email to a template
player/emailSuccess.php
foreach ($players as $player) {
if ($users->meetCriteria) {
//send email from a template
$email->setBody('player/emailSuccess.php');
}
}
Can I retrieve the email action in the player module and pass it the $player variable, from within a batch script ?
Try this.