Outlook / mac的Outlook在电子邮件中显示标签

时间:2016-09-26 14:03:02

标签: php codeigniter email outlook

我正在发送电子邮件以验证用户。在浏览器网站中打开时,电子邮件工作正常,在浏览器中检查它看起来很好。例如,当电子邮件发送到gmail或任何其他电子邮件站点时,它不会显示标签,但是当我在Outlook 2013中打开它时,它会显示html标签。我不希望outlook显示标签enter image description here帮助

$config = Array(
                 'protocol' => 'smtp',
                 'smtp_host' => 'smtp.brianvest.com.',
                 'smtp_port' => 465,
                 'smtp_user' => 'admin@brianvest.com', // change it to yours
                 'smtp_pass' => 'voting2016', // change it to yours
                 'charset' => 'iso-8859-1',
                 'mailtype' => 'html',
              );


  $this->load->library('email', $config);
  $this->email->set_header('MIME-Version', '1.0; charset=utf-8'); 
  $this->email->set_header('Content-type', 'text/html');
  $this->email->from('info@senduleads.com', "Julie Italiano - Modern Office Methods");
  $this->email->to($email);  
  //$this->email->message("Dear Voter,\nPlease click on the URL below, or copy and paste it into your browser to verify your Email Address and Start Voting.\n\n http://www.example.com/JumpStartBeta/".$verificationText."\n"."\n\nThanks,\nJulie Italiano\nModern Office Methods");
$link = "http://example.com/Admin/change_password/$verificationText";
$title = 'Password Change Request for Jump Start Voting';
$this->email->message("Dear Voter,<br>Please click <a href='".$link."'>here</a> to verify your password.<br><br><br>Thanks,<br>Julie Italiano\nModern Office Methods");


  $this->email->subject($title);
  $this->email->send();

0 个答案:

没有答案