initial import
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
# POP to IMAP Importer
|
||||
|
||||
A Rust application that downloads emails from a POP3 server and imports them into an IMAP server's INBOX.
|
||||
|
||||
## Features
|
||||
|
||||
- Downloads all emails from a POP3 server
|
||||
- Imports emails to the INBOX of an IMAP server
|
||||
- Secure TLS connections
|
||||
- Environment-based configuration
|
||||
|
||||
## Setup
|
||||
|
||||
1. Copy `.env.example` to `.env`:
|
||||
|
||||
```bash
|
||||
cp .env.example .env
|
||||
```
|
||||
|
||||
2. Edit `.env` with your server credentials:
|
||||
|
||||
```env
|
||||
# POP3 Source Server Configuration
|
||||
POP3_HOST=pop.example.com
|
||||
POP3_PORT=995
|
||||
POP3_USERNAME=your_pop3_username
|
||||
POP3_PASSWORD=your_pop3_password
|
||||
|
||||
# IMAP Destination Server Configuration
|
||||
IMAP_HOST=imap.example.com
|
||||
IMAP_PORT=993
|
||||
IMAP_USERNAME=your_imap_username
|
||||
IMAP_PASSWORD=your_imap_password
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Run the application:
|
||||
|
||||
```bash
|
||||
cargo run
|
||||
```
|
||||
Reference in New Issue
Block a user