An open API service indexing awesome lists of open source software.

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

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.