title: Disable logging in Flask-Mail when sending message
body: <p>When sending any message via Flask-Mail, such as below, the last line with <code>mail.send(msg)</code> will also result in the mail headers and content being logged.    </p>
  
  <pre><code>Message("Hello", sender="from@example.com", recipients=["to@example.com"])
  msg.body = 'anything'
  mail.send(msg)
  </code></pre>
  
  <p>As my mail may contain sensitive information, I want to disable this logging entirely. Yet, playing around with the logging module, I could not find a logger configured for Flask-Mail.</p>
  
  <p>How do I disable logging in Flask-Mail?</p>