Complete the code to import the Flask-Mail extension.
from flask_mail import [1]
The Flask-Mail extension is imported using Mail.
Complete the code to create a Flask-Mail instance with the Flask app.
mail = [1](app)You create a Mail instance by passing the Flask app to Mail(app).
Fix the error in the code to create an email message with subject and recipients.
msg = Message(subject='Hello', recipients=[1])
The recipients argument must be a list of email addresses, so use ['user@example.com'].
Fill both blanks to set the email body and send the message.
msg.body = [1] mail.[2](msg)
The email body is set as a string, and the message is sent using mail.send(msg).
Fill all three blanks to configure Flask-Mail settings for SMTP server.
app.config['MAIL_SERVER'] = [1] app.config['MAIL_PORT'] = [2] app.config['MAIL_USE_TLS'] = [3]
Use Gmail SMTP server 'smtp.gmail.com', port 587, and enable TLS with True.
