It looks like your email.php config file is badly misconfigured.
Most likely CakeEmail is using $default
, which you have setup as follows:
public $default = array(
'transport' => 'Smtp',
'from' => 'you@email.com',
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
);
Basically you are setting transport to SMTP and you are missing all the necessary configuration to have it working.
So, you should set your transport to Mail
as this:
public $default = array(
'transport' => 'Mail',
'from' => 'you@yourdomain.com',
);
CakeDC most likely is using default
as the following:
$Email = new CakeEmail('default');
Then it should work....