修改程序

mobile-first
cyc 5 years ago
parent 0267cb8562
commit 40c81f3c49

@ -126,6 +126,7 @@ class Index extends CI_Controller {
$tostring = '';
$tostring = substr($data['mail_touser'],0,-1);
$tostring = "'".$tostring."'";
if(!empty($tostring)){
$tomail = $this->ding_value_model->all_email($tostring);
@ -133,22 +134,6 @@ class Index extends CI_Controller {
$tomail = null;
}
//抄送
$ccstring = '';
$cclist_array = array();
$ccmail_array = explode(';', $this->input->post('cs_emaillist'));
foreach ($ccmail_array as $c) {
if($c != null){
$ccstring .= "'".$c."'".',';
}
}
$ccstring = substr($ccstring,0,-1);
if(!empty($ccstring)){
$cclist_array = $this->ding_value_model->all_email($ccstring);
}else{
$cclist_array = null;
}
$mailheader = '<p style="font-size:20px">FROM:'.$user_info->ddu_Name.'</p><br>';
$mailbody = '<div style="overflow:hidden">
<a style="height:auto;text-decoration: none;" href="http://' . $_SERVER['HTTP_HOST'] . '/webht.php/apps/dingmail/index/like/' . $data['mail_identify'] . '/like" >

Loading…
Cancel
Save