elaonmars / imapcp Goto Github PK
View Code? Open in Web Editor NEWThis project forked from s0rg/imapcp
IMAP4 Mailbox copy utility
This project forked from s0rg/imapcp
IMAP4 Mailbox copy utility
IMAP4 mailbox copy tool Usage: imapcp.py [--move] [--box name] uri_source uri_dest --move - move instead of copy --box name - copy/move only box named 'name', else - copy all boxes --ssl - use ssl uri_source / uri_dest - URI: user[:password@host:port] if password omitted it will be prompted, if host omitted - 'localhost' used if port omitted - default IMAP4 port (143) used Example I - Copy the complete mailbox: ====================================== python imapcp.py --ssl "[email protected]@imap.sourceserver.com:993" "[email protected]@imap.targetserver.com:993" # As you didn't gave your password here you'll be asked for. Here you can check if the username is parsed correctly. password for [email protected]: ********* password for [email protected]: ****** # Now you can get a cup of coffee... ... 29 messages copied from Trash 20 messages copied from INBOX.Family 0 messages copied from Spam 0 messages copied from Queue 2 messages copied from INBOX.Company 2 messages copied from Drafts Example II - Copy only a specific subfolder: ============================================ For example you have the following folder structure and you want only copy the subfolder 'INBOX.Family'. ├── .INBOX.Family ├── new └── .Trash python imapcp.py --ssl --box INBOX.Family "[email protected]@imap.sourceserver.com:993" "[email protected]@imap.targetserver.com:993" ERROR HANDLING: Please choose the other branch if you get an error exception to know where you can bug fix your Python libraries.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.