瀏覽代碼

恢复发送

visuddhinanda 4 年之前
父節點
當前提交
f3e7caac20
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/ucenter/invite.php

+ 1 - 1
app/ucenter/invite.php

@@ -76,7 +76,7 @@ if (PHP_SAPI == "cli") {
 			$mail->Body    = $strBody;
 			$mail->Body    = $strBody;
 			$mail->AltBody = $strBody;
 			$mail->AltBody = $strBody;
 
 
-			//$mail->send();
+			$mail->send();
 			echo 'Message has been sent';
 			echo 'Message has been sent';
 		} catch (Exception $e) {
 		} catch (Exception $e) {
 			echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";
 			echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}";