I get the following error when using CakeEmail->send :
Unable to find the socket transport "https" - did you forget to 
enable it when you configured PHP?
 
My email.php file has the following:
class EmailConfig {
    public $test = array(
   'host' => 'https://mail.services.live.com/DeltaSync_v2.0.0/sync.aspx',
  'port' => 465,
  'username' => '[email protected]',
  'password' => '**********',
  'transport' => 'Smtp',
  'tls' => true
    );
}
 
The CakeEmail is set up as follows:
  $email = new CakeEmail(array('log' => true));
  $email->config('test');
  $email->to('[email protected]');
  $email->subject('test subject');
  $email->sender(*'[email protected]'* <'[email protected]'>, 
'test emailer');
  $email->from(*'[email protected]'* <'[email protected]'>);
  return $email->send('test message');
 
I'm not sure if the host is right for the hotmail account.
 
Thanks. 

-- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.


Reply via email to