Browse Source

邮件发送

lizhen_gitee 7 months ago
parent
commit
acf3bc79a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      application/api/controller/Ems.php

+ 2 - 2
application/api/controller/Ems.php

@@ -49,8 +49,8 @@ class Ems extends Api
                 $this->error(__('未注册'));
             }
         }
-//        $ret = Emslib::send($email, null, $event);
-        $ret = true;
+        $ret = Emslib::send($email, null, $event);
+//        $ret = true;
         if ($ret) {
             $this->success(__('发送成功'));
         } else {