wjimenez5271 / imapsync_ruby

A small Ruby script to transfer email between two IMAP accounts, great for transferring Gmail accounts.

Home Page:http://wonko.com/post/ruby_script_to_sync_email_from_any_imap_server_to_gmail

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imapsync_ruby

This is a small program that will help copy messages from one IMAP folder to another, even across servers. It makes it really easy for example to migrate from one gmail account to another, and it has also been tested with many different IMAP servers.

USE AT YOUR OWN RISK.

Instructions

  1. Open up the imapsync.rb file and edit lines 6 - 19 as needed.
  2. You will need to provide a host name, user name, and password for the source account and the destination account.
  3. You can optionally change the UID_BLOCK_SIZE if necessary.
  4. To automatically discover IMAP folders to sync, use the --dynamic_folder_map option when executing the script.

Thanks

A big thanks to wonko.com for creating the script and publishing it. Thank you also to the many contributors and testers in the comments of that post who made this script work even better.

About

A small Ruby script to transfer email between two IMAP accounts, great for transferring Gmail accounts.

http://wonko.com/post/ruby_script_to_sync_email_from_any_imap_server_to_gmail


Languages

Language:Ruby 100.0%