Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No emails get imported #43

Closed
chrisj02 opened this issue Oct 5, 2018 · 4 comments
Closed

No emails get imported #43

chrisj02 opened this issue Oct 5, 2018 · 4 comments

Comments

@chrisj02
Copy link

chrisj02 commented Oct 5, 2018

tried to import mbox file downloaded from user's content archive, no errors found and no emails get imported either.
Is it not recognizing google mbox archive?

2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:326) *** Starting import-mailbox-to-gmail 1.5 on Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 29 2018, 20:59:26)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] ***
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:327) Arguments:
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) auth_host_name: 'localhost'
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) auth_host_port: [8080, 8090]
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) dir: '/mbox_import/user@testemail.com/'
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) fix_msgid: True
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) from_message: 0
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) httplib2debuglevel: 0
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) json: 'mboximport-api-c0cc83f43193.json'
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) log: 'import-mailbox-to-gmail-13278.log'
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) logging_level: 'INFO'
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) noauth_local_webserver: False
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) num_retries: 10
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:329) replace_quoted_printable: True
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:389) *** Done importing all users from directory '
/mbox_import/user@testemail.com/'
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:390) *** Import summary:
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:392) 0 users imported with no failures
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:394) 0 users imported with some failures
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:396) 0 users failed
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:398) 0 labels (mbox files) imported with no failures
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:400) 0 labels (mbox files) imported with some failures
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:402) 0 labels (mbox files) failed
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:404) 0 messages imported successfully
2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:406) 0 messages failed

2018-10-05T10:01:42 (-0400) 13278 INFO main (import-mailbox-to-gmail.py:410) Finished.

@priyaruby86
Copy link

Read this blog, it may help you: https://tech-vita.blogspot.com/2018/12/how-to-import-mbox-to-gmail.html

@ar45
Copy link

ar45 commented Jul 28, 2020

Read this blog, it may help you: https://tech-vita.blogspot.com/2018/12/how-to-import-mbox-to-gmail.html

STOP DIRECTING PEOPLE TO OUTSIDE SOURCES NOT RELATED TO THIS REPO!

@ar45
Copy link

ar45 commented Jul 28, 2020

you need your directory structure to look like the following

.
└── mailboxes
    ├── user1@example.com
    │   └── File.mbox
    └── user2@example.com
        └── File.mbox

Then invoke as
python import-mailbox-to-gmail.py --json ~/credentials.json --dir ./mailboxes/

@eesheesh
Copy link
Collaborator

@ar45 is correct. :) Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants