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

How do I access saved local drafts? #551

Closed
heymhm opened this issue Jan 25, 2025 · 2 comments
Closed

How do I access saved local drafts? #551

heymhm opened this issue Jan 25, 2025 · 2 comments

Comments

@heymhm
Copy link

heymhm commented Jan 25, 2025

Hi, I saved a message I was writing as local draft, but I couldn't find the copy afterwards on the filesystem. I also don't see an option to access local drafts in help/manual pages, or much information on them in general. Can somebody clarify where the local drafts are stored, and how to resume editing them?

himalaya --version output:

himalaya v1.1.0 +maildir +sendmail +pgp-commands +wizard +smtp +imap
build: macos  aarch64
git: unknown, rev unknown

PS1 -- The message itself was not important, I don't mind it being lost in itself.
PS2 -- Himalaya is pretty cool, thanks.

@soywod
Copy link
Member

soywod commented Jan 25, 2025

If I remember well, the local draft is stored in your OS's temp directory. There is an open issue to improve draft management #476, I had no opportunity yet to develop it. The actual state of draft is not so pretty. The best you can do meanwhile is to use your remote draft, then use the message edit subcommand to take it back. See himalaya message edit --help.

@soywod
Copy link
Member

soywod commented Jan 25, 2025

https://github.com/pimalaya/core/blob/847c3041b35b74b09f4782c6e00cd0607b75788d/email/src/email/utils.rs#L9

@soywod soywod closed this as completed Jan 25, 2025
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