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

Remember login info #5

Closed
julianfairfax opened this issue Mar 16, 2024 · 2 comments
Closed

Remember login info #5

julianfairfax opened this issue Mar 16, 2024 · 2 comments

Comments

@julianfairfax
Copy link

Having to login each time you want to use the tool makes using it more difficult.

@FairyNatza
Copy link

I looked at the code, and at least you can pass some parameters to the program.
So you could create a shortcut in Windows for this program and add the parameters to the path in the target.
It should look like this:
"proton-mail-export-cli.exe" --user=username@proton.me --password=****** --export-dir="C:\Export" --totp=123456 --mbox-password=****

You only need "totp" if you have the second factor (time-based one-time password) enabled, and "mbox-password" if you have the second password active in your account.

Hope this helps.

@julianfairfax
Copy link
Author

--export-dir didn't work for me and --totp doesn't make sense for my use case, but the username and password work! Thank you @FairyNatza!

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

2 participants