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' =>
[hidden email],
'password' => '**********',
'transport' => 'Smtp',
'tls' => true
);
}
The CakeEmail is set up as follows:
$email = new CakeEmail(array('log' => true));
$email->config('test');
$email->to(
[hidden email]);
$email->subject('test subject');
$email->sender(
[hidden email], 'test emailer');
$email->from(
[hidden email]);
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
[hidden email].
To unsubscribe from this group, send email to
[hidden email].
Visit this group at
http://groups.google.com/group/cake-php?hl=en-US.