Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/264.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Exchange服务器-发送邮件类型为html的电子邮件-链接已损坏_Php_Email_Character Encoding_Exchange Server_Url Encoding - Fatal编程技术网

Php 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

我正在使用CodeIgniter库从我的windows exchange服务器发送电子邮件。 但是,当我试图发送html类型的电子邮件时,此电子邮件包含链接,则收到的电子邮件已损坏

已发送电子邮件:

收到的电子邮件:

//代码:

    $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服务器,但成功发送链接效果很好。

请向我们展示您使用的代码我已经编辑了这个问题