<reponame>ItaloPerez2019/Flask_Not_Sys<gh_stars>0
from email.mime.text import MIMEText
import smtplib

def send_email(email, height):
    from_email="<EMAIL>"
    from_password="<PASSWORD>"
    to_email=email

    subject="hello love"
    message="thank you the email<strong>%s</strong>." %height


    msg=MIMEText(message, 'html')
    msg['Subject']=subject
    msg['To']=to_email
    msg['From']=from_email

    gmail=smtplib.SMTP('smtp.gmail.com',587)
    gmail.ehlo()
    gmail.starttls()
    gmail.login(from_email, from_password)
    gmail.send_message(msg)
    