File size: 1,513 Bytes
7994ba7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# Streamlit Email App
This project is a Streamlit web application that allows users to send emails with attachments. It provides a user-friendly interface for entering recipient details, email subject, and body text.
## Project Structure
```
streamlit-email-app
βββ src
β βββ app.py # Main entry point of the Streamlit application
β βββ email_sender.py # Contains the email sending functionality
β βββ utils.py # Utility functions for validation and formatting
βββ requirements.txt # Lists the dependencies required for the project
βββ README.md # Documentation for the project
```
## Setup Instructions
1. **Clone the repository**:
```
git clone <repository-url>
cd streamlit-email-app
```
2. **Install the required packages**:
Make sure you have Python installed. Then, run:
```
pip install -r requirements.txt
```
## Usage Guidelines
1. **Run the application**:
Navigate to the `src` directory and run:
```
streamlit run app.py
```
2. **Using the application**:
- Enter the recipient's email address.
- Fill in the subject and body of the email.
- Optionally, attach a file.
- Click the "Send Email" button to send the email.
## Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue for any suggestions or improvements.
## License
This project is licensed under the MIT License. See the LICENSE file for more details. |