codeigniter 2.0.3-erreur Fatale

Je suis nouveau sur codeigniter et j'ai essayé une leçon à partir d'un des tutoriels, mais il met l'erreur suivante:

Class 'Controller' not found in 
C:\xampp\htdocs\CodeIgniter\application\controllers\email.php 
on line 3

Mon code:

<?php

class Email extends Controller{
    function __construct()
    {
        parent::Controller();
    }

    function index()
    {
        $config = Array(
            'protocol' => 'smtp',
            'smtp_host' => 'ssl://smtp.googlemail.com',
            'smtp_port' => 465,
            'username' => '[email protected]',
            'password' => 'password' 
        );

        $this->load->library('email', $config);
        $this->email->set_newline("\r\n");

        $this->email->from('[email protected]', 'Niroj Shakya');
        $this->email->to('[email protected]');
        $this->email->subject('This is a test email');
        $this->email->message('Oops This is Great.');

        if($this->email->send())
        {
            echo 'Your email was sent, FOOL';       
        }

        else
        {
            show_error($this->email->print_debugger());
        }
    }
}   

?>

Quel est le problème?

InformationsquelleAutor Nyaro | 2011-09-09