EVERNOTE : https://www.evernote.com/shard/s313/nl/41973486/80906fa4-f829-e2eb-cffb-b910b9a128dc/ QUERIES FOR THE “Non-Toxic Glaze Advisor” APP EN https://www.evernote.com/shard/s313/nl/41973486/b326b41d-1a5b-e5a9-1b87-6a852f08be59/ KOPIE - QUERIES FOR THE “Non-Toxic Glaze Advisor” APP - Kopie 07-04-2024 06-04-2024 05-04-2024 04-04-2024 24-03-2024 23-03-2024 --- QUERIES FOR THE “Non-Toxic Glaze Advisor” APP https://huggingface.co/spaces/JBHF/NonToxicGlazeAdvisor_Chat_with_Docs_Groq_Edition_1 VICTOR BENCKHUIJSEN EVERNOTE : https://www.evernote.com/shard/s313/nl/41973486/80906fa4-f829-e2eb-cffb-b910b9a128dc/ 04-04-2024 … 07-04-2024 STREAMLIT - Send email with SMTP and Gmail address - ☁️ Community Cloud - Streamlit https://discuss.streamlit.io/t/send-email-with-smtp-and-gmail-address/48145 … Developer Relations @Streamlit 1 Jul 2023 Can you share your requirements.txtfile? It should be like this to work: ``` streamlit sendgrid Pillow ``` Here’s the example app I built for the demo. Try entering your email, subject, and body then send it to yourself to test. Here’s the repo 104as well. Try generating a new email following the instructions from my previous post regardless of if you don’t have 2FA enabled. … tonykipkemboi/streamlit-smtp-test: Demo of sending SMTP email using Streamlit app https://github.com/tonykipkemboi/streamlit-smtp-test tonykipkemboi/streamlit-smtp-testPublic Demo of sending SMTP email using Streamlit app License MIT license 2stars 1fork BranchesTagsActivity - Code - Issues1 - Pull requests tonykipkemboi/streamlit-smtp-test Folders and files Name Latest commit https://github.com/tonykipkemboi tonykipkemboi 5 months ago History .gitignore 9 months ago LICENSE 9 months ago README.md 5 months ago requirements.txt 9 months ago streamlit_app.py 9 months ago Repository files navigation - README - MIT license Streamlit Email Sender 💌🚀 Demo of sending SMTP email using Streamlit app 🎈 Getting Started 🛠️ 1. Clone this repo: 2. Install the necessary packages: 3. Run Streamlit app Using the App 🎈 - Enter the sender's email - Recipient's email - Subject, and body - Click on the "Send Email" button, and voila! Your email's on its way! - You'll receive an email from summittradingcard@gmail.com Important Notes 📌 If you're using Gmail and have two-step verification enabled, your regular password won't work. Instead, generate an app-specific password: 🚶‍♂️ Head over to your Google Account. 🖱️ On the left navigation panel, click on Security. 🔐 Under Signing in to Google, select App Passwords. You might need to sign in again. 📱 At the bottom, choose the app and device you want the app password for, then select Generate. 🎉 Use this app password in the Streamlit app. Troubleshooting 🚑 If you encounter the error Failed to send email: ..., double-check your credentials and ensure you've followed the Important Notessection above. Let's Connect! 🌍 Loved the app or have some awesome suggestions? Raise an issue on this repo. Releases No releases published Packages No packages published Languages Python100.0% streamlit-smtp-test/streamlit_app.py at main · tonykipkemboi/streamlit-smtp-test https://github.com/tonykipkemboi/streamlit-smtp-test/blob/main/streamlit_app.py ``` """ If you've two-step verification enabled, your regular password won't work. Instead, generate an app-specific password: - Go to your Google Account. - On the left navigation panel, click on "Security." - Under "Signing in to Google," select "App Passwords." You might need to sign in again. - At the bottom, choose the app and device you want the app password for, then select "Generate." - Use this app password in your Streamlit app. """ import streamlit as st import smtplib from email.mime.text import MIMEText st.title('Send Streamlit SMTP Email 💌 🚀') st.markdown(""" **Enter your email, subject, and email body then hit send to receive an email from `summittradingcard@gmail.com`!** """) # Taking inputs email_sender = st.text_input('From', 'summittradingcard@gmail.com', disabled=True) email_receiver = st.text_input('To') subject = st.text_input('Subject') body = st.text_area('Body') # Hide the password input password = st.text_input('Password', type="password", disabled=True) if st.button("Send Email"): try: msg = MIMEText(body) msg['From'] = email_sender msg['To'] = email_receiver msg['Subject'] = subject server = smtplib.SMTP('smtp.gmail.com', 587) server.starttls() server.login(st.secrets["email"]["gmail"], st.secrets["email"]["password"]) server.sendmail(email_sender, email_receiver, msg.as_string()) server.quit() st.success('Email sent successfully! 🚀') except Exception as e: st.error(f"Failed to send email: {e}") ``` STUUR EMAILS NAAR: scitechtalk@gmail.com STT……! 07-04-2024 -----> https://huggingface.co/spaces/JBHF/STREAMLIT-Send-email-with-SMTP-and-Gmail-address https://huggingface.co/spaces/JBHF/STREAMLIT-Send-email-with-SMTP-and-Gmail-address/tree/main