我试图发送一个简单的电子邮件 与编码员:
$email_config = Array(
protocol => smtp ,
smtp_host => ssl://smtp.googlemail.com ,
smtp_port => 465,
smtp_user => xxx ,
smtp_pass => xxx
);
$this->load->library( email , $email_config);
$this->email->from( [email protected] , Admin );
$this->email->to($email_address);
$this->email->subject( Test Subject );
$this->email->message( Test Message );
$this->email->send();
But it just times out. I have uncommented extension=php_openssl.dll in php.ini, but I m guessing there s some sort of other setup issue. I m running on IIS7.