[email protected]',                // The to address
         'The contact page has been submitted' // Subject
      );
      $email->populateTemplate(array(
         'FormData' => new ArrayData($data)
      ));
      $email->send();
   }

}

class ContactPage_Email extends Email_Template {

   protected $ss_template = 'ContactPage_Email';

}

?>