imap_copy
imap_copy copied to clipboard
Recursive folder copy.
Is it possible to copy a folder recursively?
Hi, Id be really happy to see this functionality too! :-)
Nice script though..
I tried doing it in my fork. Seems to be working fine.
Michał Margula, [email protected], http://alchemyx.uznam.net.pl/ "W życiu piękne są tylko chwile" [Ryszard Riedel]
Dnia 9 kwi 2015 o godz. 12:36 drjnet [email protected] napisał(a):
Hi, Id be really happy to see this functionality too! :-)
Nice script though..
— Reply to this email directly or view it on GitHub.
Hi, Is there some switch i need to run it recursively as I couldnt see anything in code? I just downloaded the main zip from githib are you using something different?
https://github.com/jarus/imap_copy/pull/8/files?short_path=88b99bb
Michał Margula, [email protected], http://alchemyx.uznam.net.pl/ "W życiu piękne są tylko chwile" [Ryszard Riedel]
Dnia 9 kwi 2015 o godz. 12:51 drjnet [email protected] napisał(a):
Hi, Is there some switch i need to run it recursively as I couldnt see anything in code? I just downloaded the main zip from githib are you using something different?
— Reply to this email directly or view it on GitHub.
Perfect thanks, this may be due to the fact the account im testing with has oer 300 sub folders but i get this error:
2015-04-09 12:37:27,493 - INFO - Connect to source (secure.emailsrvr.com)
2015-04-09 12:37:27,914 - INFO - Authenticate at source
2015-04-09 12:37:28,313 - INFO - source connection established
2015-04-09 12:37:28,675 - INFO - Connect to destination (mail3.gridhost.co.uk)
2015-04-09 12:37:28,900 - INFO - Authenticate at destination
2015-04-09 12:37:28,928 - INFO - destination connection established
2015-04-09 12:37:29,477 - INFO - Getting list of mailboxes under Inbox
2015-04-09 12:37:29,834 - INFO - Disconnect from source server
2015-04-09 12:37:29,959 - INFO - Disconnect from destination server
Traceback (most recent call last):
File "imapcopy-fork.py", line 261, in
I think block is 2, in my example I have d element equal to: '(\HasNoChildren) "/" INBOX/origine/prova' so splitting this string generate 3 elements '(\HasNoChildren)', '/', 'INBOX/origine/prova' the block for destination folder is [2]
... but seems doesn't call recursion (maybe == recurse_level is != in the next if block?)