From 0ea4a34125e652c59e4d0a4aa0f35bf917bd3be7 Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 10 Jan 2020 11:01:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E6=8A=95=E9=80=92=E5=A4=B1=E8=B4=A5=E7=9A=84=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E9=80=9A=E7=9F=A5;=20=E6=AF=8F=E6=AC=A1=E5=8F=912?= =?UTF-8?q?=E5=B0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/sendmail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/sendmail.php b/application/controllers/sendmail.php index 949da2e9..c6af70db 100644 --- a/application/controllers/sendmail.php +++ b/application/controllers/sendmail.php @@ -46,7 +46,7 @@ class Sendmail extends CI_Controller public function send_mail(){ @set_time_limit(0); - $result=$this->InfoSMS_model->un_send_mail(1,0); + $result=$this->InfoSMS_model->un_send_mail(2,0); if (empty($result)) { echo 'null'; @@ -79,9 +79,9 @@ class Sendmail extends CI_Controller if (!$this->email->send()) { //发送失败,则记录日志,并发送一封邮件给管理员 + /** 2020.01.10 通知管理员的邮件不发了! */ $error_msg=$this->email->print_debugger(); $this->Logs_model->write('send_mail',$m->M_SN,$error_msg); - $this->InfoSMS_model->send_mail('邮件监控系统', 'noreply02@chinahighlights.net', 'ycc', 'ycc@chinahighlights.net', "有一个邮件投送失败","投送失败邮件ID:$m->M_SN",'系统邮件'); echo 'false'; } else