https://github.com/saeed-dev2/smart_mail_notification_system
An IoT-based Smart Mail Notification System using ESP32/ESP8266 to send real-time email alerts when a mail signal is detected. Utilizes Wi-Fi and Gmail's SMTP server for seamless communication. Designed for efficient, automated monitoring with simple setup and robust performance.
https://github.com/saeed-dev2/smart_mail_notification_system
Last synced: 11 months ago
JSON representation
An IoT-based Smart Mail Notification System using ESP32/ESP8266 to send real-time email alerts when a mail signal is detected. Utilizes Wi-Fi and Gmail's SMTP server for seamless communication. Designed for efficient, automated monitoring with simple setup and robust performance.
- Host: GitHub
- URL: https://github.com/saeed-dev2/smart_mail_notification_system
- Owner: Saeed-dev2
- Created: 2024-11-29T11:56:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-02T18:55:39.000Z (over 1 year ago)
- Last Synced: 2025-02-09T04:16:11.101Z (about 1 year ago)
- Language: C
- Size: 57.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Smart Mail Notification System
## Overview
The **Smart Mail Notification System** is an IoT project designed to notify users via email whenever a physical signal (e.g., mail received) is detected. The system uses an ESP32/ESP8266 microcontroller and Gmail's SMTP server to deliver email alerts in real-time.
---
## Features
- **Automated Notifications**: Sends email alerts when triggered.
- **Wi-Fi Connectivity**: Establishes a reliable connection to a local network.
- **Real-Time Monitoring**: Continuously monitors the sensor state.
- **Cross-Platform Compatibility**: Supports ESP32 and ESP8266 boards.
---
## Dependencies
- **ESP Mail Client Library**: [Documentation](https://github.com/mobizt/ESP-Mail-Client)
- **Arduino Core for ESP32/ESP8266**
---
## Hardware Requirements
- **Microcontroller**: ESP32/ESP8266
- **Sensor**: Any digital signal input device (e.g., mail detection sensor).
- **Connections**:
- `GPIO15` for signal input
- `GPIO2` for onboard LED (status indicator)
---
## Setup Instructions
### Hardware Setup
1. Connect the signal input device to GPIO15.
2. Use GPIO2 for an onboard LED.
### Software Setup
1. Install Arduino IDE.
2. Install the required libraries:
- Go to **Tools** > **Manage Libraries**.
- Search and install **ESP Mail Client**.
3. Update the credentials in the code:
```c
#define WIFI_SSID "Your_SSID"
#define WIFI_PASSWORD "Your_Password"
#define AUTHOR_EMAIL "your_email@gmail.com"
#define AUTHOR_PASSWORD "your_password_or_app_password"
## Acknowledgments
This project is based on the ESP Mail Client library and utilizes open-source tools like Arduino IDE for development.