Update app.py
Browse files
app.py
CHANGED
@@ -23,6 +23,7 @@ If you've two-step verification enabled, your regular password won't work. Inste
|
|
23 |
|
24 |
import streamlit as st
|
25 |
import smtplib
|
|
|
26 |
from email.mime.text import MIMEText
|
27 |
|
28 |
st.title('Send Streamlit SMTP Email π π')
|
@@ -41,7 +42,7 @@ body = st.text_area('Body')
|
|
41 |
# Hide the password input
|
42 |
# password = st.text_input('Password', type="password", disabled=True) # ORIGINAL
|
43 |
# secret: scitechtalk_gmail
|
44 |
-
password =
|
45 |
# password = "STT301256!"
|
46 |
st.write("password:", password)
|
47 |
|
|
|
23 |
|
24 |
import streamlit as st
|
25 |
import smtplib
|
26 |
+
import os
|
27 |
from email.mime.text import MIMEText
|
28 |
|
29 |
st.title('Send Streamlit SMTP Email π π')
|
|
|
42 |
# Hide the password input
|
43 |
# password = st.text_input('Password', type="password", disabled=True) # ORIGINAL
|
44 |
# secret: scitechtalk_gmail
|
45 |
+
password = os.getenv("scitechtalk_gmail")
|
46 |
# password = "STT301256!"
|
47 |
st.write("password:", password)
|
48 |
|