https://github.com/tonykipkemboi/streamlit-smtp-test
Demo of sending SMTP email using Streamlit app
https://github.com/tonykipkemboi/streamlit-smtp-test
Last synced: 4 months ago
JSON representation
Demo of sending SMTP email using Streamlit app
- Host: GitHub
- URL: https://github.com/tonykipkemboi/streamlit-smtp-test
- Owner: tonykipkemboi
- License: mit
- Created: 2023-07-28T14:59:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-14T18:56:04.000Z (almost 2 years ago)
- Last Synced: 2025-06-20T05:45:06.669Z (4 months ago)
- Language: Python
- Size: 12.7 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Streamlit Email Sender ππ
Demo of sending SMTP email using Streamlit app π
## Getting Started π οΈ
1. **Clone this repo**:
```bash
git clone https://github.com/tonykipkemboi/streamlit-smtp-test.git
```
2. **Install the necessary packages**:
```bash
pip install -r requirements.txt
```3. **Run Streamlit app**
```bash
streamlit run streamlit_app.py
```## 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 Notes` section above.
## Let's Connect! π
Loved the app or have some awesome suggestions? Raise an issue on this repo.