Giter Club home page Giter Club logo

Comments (6)

drjnet avatar drjnet commented on July 16, 2024

Hi,
Id be really happy to see this functionality too! :-)

Nice script though..

from imap_copy.

alchemyx avatar alchemyx commented on July 16, 2024

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.

from imap_copy.

drjnet avatar drjnet commented on July 16, 2024

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?

from imap_copy.

alchemyx avatar alchemyx commented on July 16, 2024

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.

from imap_copy.

drjnet avatar drjnet commented on July 16, 2024

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
main()
File "imapcopy-fork.py", line 255, in main
imap_copy.run()
File "imapcopy-fork.py", line 174, in run
self.copy(source_mailbox, destination_mailbox, self.skip, self.limit)
File "imapcopy-fork.py", line 99, in copy
new_source_mailbox = d.split('"')[3] # Getting submailbox name
IndexError: list index out of range

from imap_copy.

nicothebrush avatar nicothebrush commented on July 16, 2024

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?)

from imap_copy.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.