from flask import Blueprint, render_template, redirect, url_for, request, flash


def send_email(to, subject, template, sender):
    msg = Message(subject, recipients=[to], html=template, sender=sender)
    mail.send(msg)

if __name__ == "__main__":
    html = render_template("activate.html", confirm_url="Hello")
    subject = "Please confirm your email"
    send_email("jeevan.bhoot@gmail.com", subject, html, "jeevan.bhoot@yahoo.com")

e3ec53251040652290e99606f20b275f5d769e74
<mask token>

<mask token>


def send_email(to, subject, template, sender):
    msg = Message(subject, recipients=[to], html=template, sender=sender)
    mail.send(msg)


<mask token>

<mask token>


def send_email(to, subject, template, sender):
    msg = Message(subject, recipients=[to], html=template, sender=sender)
    mail.send(msg)


if __name__ == '__main__':
    html = render_template('activate.html', confirm_url='Hello')
    subject = 'Please confirm your email'
    send_email('jeevan.bhoot@gmail.com', subject, html,
        'jeevan.bhoot@yahoo.com')

from flask import Blueprint, render_template, redirect, url_for, request, flash


def send_email(to, subject, template, sender):
    msg = Message(subject, recipients=[to], html=template, sender=sender)
    mail.send(msg)


if __name__ == '__main__':
    html = render_template('activate.html', confirm_url='Hello')
    subject = 'Please confirm your email'
    send_email('jeevan.bhoot@gmail.com', subject, html,
        'jeevan.bhoot@yahoo.com')

from flask import Blueprint, render_template, redirect, url_for, request, flash


def send_email(to, subject, template, sender):
    msg = Message(subject, recipients=[to], html=template, sender=sender)
    mail.send(msg)

if __name__ == "__main__":
    html = render_template("activate.html", confirm_url="Hello")
    subject = "Please confirm your email"
    send_email("jeevan.bhoot@gmail.com", subject, html, "jeevan.bhoot@yahoo.com")
