title: TypeError: argument of type 'Mail' is not iterable
body: <p>i am working on this email confirmation app using Flask. for this i am using flask_mail(obviously) but i am getting this error:</p>
  
  <p><strong>TypeError: argument of type 'Mail' is not iterable</strong></p>
  
  <pre><code>@app.route('/email', methods=['GET', 'POST'])
  def send_mail():
      getting = request.form.get('mail')
      token = s.dumps(getting, salt='email-confirm')
  
      msg = Message('Confirm Email', sender='vatsalayvk1434@gmail.com', recipients=[mail])
  
      link = url_for('confirm_mail', token=token, _externel=True)
      msg.body = f'Your Link is {link}'
  
      mail.send(msg)
      return render_template('confirm.html', getting=getting, token=token)
  </code></pre>
  
  <p><strong>Here is the template code</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="ie=edge"&gt;
      &lt;link rel="stylesheet" href="{{ url_for('static',filename='dist/css/bootstrap.min.css') }}"&gt;
      &lt;title&gt;Document&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div class="col-lg-12"&gt;
          &lt;h2 class="display-4 mb-3"&gt;Flask Confirm Message App &lt;/h2&gt;
          &lt;div class="col-md-6"&gt;
                  &lt;form action="/email" method="post" class="mt-3 align-items-center justify-content-center"&gt;
                      &lt;input type="text" name="mail" class="form-control form-control-sm"&gt;
                      &lt;input type="submit" class="btn btn-outline-primary mt-4 ml-3"&gt;
                  &lt;/form&gt;
              &lt;/div&gt;
              &lt;h2&gt;The Mail is  : {{getting}}&lt;/h2&gt;
              &lt;h2&gt;The token is : {{token}}&lt;/h2&gt;
      &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>