PHPMailer-在工作时始终显示消息

时间:2019-03-16 22:57:05

标签: php phpmailer sendmessage

我让我的phpmailer在我的网站上工作,我的意思是它可以发送电子邮件。

但是它总是在发送电子邮件时显示此消息

<html>
    <head>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    </head>

<body>
  <div class="container-fluid">
    <div class="row">
    
      <div class="col-md-12">
        <img src="https://pbs.twimg.com/profile_images/795971591511347200/BE9ga9uY_400x400.jpg">
      </div>
    </div>
  </div>
  
  <div class="container-fluid" style="position:absolute; background: red">
    <div class="row">
      <div class="col-md-12">
        <div>
          Here is some text with background color red. Text covers the image but background does not. 
        </div>
      </div>
    </div>
  </div>
  
</body>

</html>

有人有想法吗?

SMTP -> FROM SERVER:000-XXXX.rumahweb.com ESMTP Exim 4.91 #1 Sun, 17 Mar 2019 05:45:58 +0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.

1 个答案:

答案 0 :(得分:1)

这不是错误。禁用调试输出:

$mail->SMTPDebug = false;