After way too much headache, I sent an email with Flask. The book suggested setting up a Gmail account specifically for our website, but Gmail said we were being shady and banned the whole class.
We then tried to use our school email addresses which use outlook. Students successfully sent email before using the win32 python extension, but that uses the windows outlook software, and that did not seem like the right route to go for our website especially since we are on our virtual Linux machines. We tried configuring our server to use ‘smtp.oulook.com’ but we kept getting an invalid sender error.
I was messing around with my google settings when I realized that all of have Google accounts as well with Gmail. I don’t use it, so I have almost no emails there, but it was there. Weirdly enough, it is the exact same email address as my outlook email, but I tried using the ‘smtp.gmail.com’ and I allowed “Less Secure Apps”, and we had success! Only took me a whole day without students being here to solve the problem. Happy flexible instruction day.