resque class

resque class

<?php

class sendEmail
{

     function perform()
     {
          include_once("/var/www/html/classes/class.mailer.php");
          $oMailer = new mailer();

          $email = $this->args["email"];
          return $oMailer->sendMail("This is a test message sent from our queue", "test mail from queue", $email);

     }
     
}
Comments are closed.