Php Exchange服务器-发送邮件类型为html的电子邮件-链接已损坏
我正在使用CodeIgniter库从我的windows exchange服务器发送电子邮件。 但是,当我试图发送html类型的电子邮件时,此电子邮件包含链接,则收到的电子邮件已损坏 已发送电子邮件: 收到的电子邮件: //代码:Php Exchange服务器-发送邮件类型为html的电子邮件-链接已损坏,php,email,character-encoding,exchange-server,url-encoding,Php,Email,Character Encoding,Exchange Server,Url Encoding,我正在使用CodeIgniter库从我的windows exchange服务器发送电子邮件。 但是,当我试图发送html类型的电子邮件时,此电子邮件包含链接,则收到的电子邮件已损坏 已发送电子邮件: 收到的电子邮件: //代码: $this->load->library('email'); $this->email->clear(); $this->email->initialize(array( 'protocol
$this->load->library('email');
$this->email->clear();
$this->email->initialize(array(
'protocol' => 'smtp',
'smtp_host' => 'srv.domain.x.io',
'mailtype' => 'html',
'smtp_port' => 25,
'crlf' => "\n",
'newline' => "\r\n"
));
$this->email->to('xx@gmail.com');
$this->email->from('no-reply@domain.x.io', 'subject');
$this->email->subject('subject' );
$this->email->message('http://domain.x.io/researchapp/admin/reviewerspage1?email=abcdefg@gmail.com&phase=1&id=40' );
$this->email->send();
echo $this->email->print_debugger();
虽然我使用了gmail服务器,但成功发送链接效果很好。请向我们展示您使用的代码我已经编辑了这个问题