Create page/mail.py
Browse files- page/mail.py +19 -0
page/mail.py
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
|
3 |
+
def main():
|
4 |
+
st.title("Email Sent Successfully")
|
5 |
+
st.write("Thank you for your tool request! Your email has been sent.")
|
6 |
+
st.write("Here are the details of your request:")
|
7 |
+
|
8 |
+
# Retrieve the tool and email from session state
|
9 |
+
tool = st.session_state.get('tool')
|
10 |
+
email = st.session_state.get('email')
|
11 |
+
|
12 |
+
if tool and email:
|
13 |
+
st.write(f"**Tool:** {tool}")
|
14 |
+
st.write(f"**Email:** {email}")
|
15 |
+
else:
|
16 |
+
st.write("No request details found.")
|
17 |
+
|
18 |
+
if __name__ == "__main__":
|
19 |
+
main()
|