$Email = new CakeEmail();
$Email->config('Smtp');
class EmailConfig {
public $default = array(
'transport' => 'Smtp',
'from' => 'example.nl',
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
);
public $smtp = array(
'transport' => 'Smtp',
'from' => array('info@example.nl' => 'info@example.nl'),
'host' => 'info@example.nl',
'port' => 465,
'timeout' => 30,
'username' => 'info@example.nl',
'password' => 'x',
'client' => null,
'log' => false,
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
);
public $fast = array(
'from' => 'info@example.nl',
'sender' => null,
'to' => null,
'cc' => null,
'bcc' => null,
'replyTo' => null,
'readReceipt' => null,
'returnPath' => null,
'messageId' => true,
'subject' => null,
'message' => null,
'headers' => null,
'viewRender' => null,
'template' => false,
'layout' => false,
'viewVars' => null,
'attachments' => null,
'emailFormat' => null,
'transport' => 'Smtp',
'host' => 'info@example.nl',
'port' => 465,
'timeout' => 30,
'username' => 'info@example.nl',
'password' => 'x',
'client' => null,
'log' => true,
//'charset' => 'utf-8',
//'headerCharset' => 'utf-8',
);
}