1
0
forked from finn/site

mgt c10 checkpoint

This commit is contained in:
2024-08-04 22:00:07 -07:00
parent 61c8cadb87
commit ed9df4db6f
10 changed files with 58 additions and 10 deletions

9
backend/app/email.py Normal file
View File

@@ -0,0 +1,9 @@
from flask_mail import Message
from app import mail
def send_email(subject, sender, recipients, text_body, html_body):
msg = Message(subject, sender=sender, recipients=recipients)
msg.body = text_body
msg.html = html_body
mail.send(msg)