0
我想从我的codeigniter应用程序使用zoho smtp服务器发送邮件。从谷歌应用引擎的codeoiter发送邮件与zoho smtp服务器
我试着用下面的代码,但我得到错误。
$config['protocol'] = 'smtp';
$config['smtp_host'] = 'smtp.zoho.eu';
$config['smtp_user'] = '[email protected]';
$config['smtp_pass'] = '12345678';
$config['smtp_port'] = 465;
$config['smtp_crypto'] = 'ssl';
$config['mailtype'] = 'html';
$this->email->initialize($config);
$this->email->from('[email protected]', 'Test');
$this->email->to('[email protected]');
$this->email->subject("Test");
$this->email->message("Test message");
if(!$this->email->send()){
$this->email->print_debugger();
}
我得到以下错误
我主持谷歌在云中的文件连接。 它的正常工作在本地主机
嗨,这PHP版本您使用的? – user10089632
我使用5.6.31 – RaGu