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

Attachment not saved with a draft #309

Open
mtgxx opened this issue Mar 11, 2025 · 1 comment
Open

Attachment not saved with a draft #309

mtgxx opened this issue Mar 11, 2025 · 1 comment

Comments

@mtgxx
Copy link

mtgxx commented Mar 11, 2025

Hello,

There is an unexpected behaviour in the webclient. I have done the following:

  • start composing a mail
  • attach a file
  • click on save
  • click on close
  • open the draft again

At this point the attachment is gone.

As a user, I would expect the draft to be saved completely, including the attachment.

Best,
Matthias

@mjl-
Copy link
Owner

mjl- commented Mar 20, 2025

Agreed, also discussed over email, we should immediately upload the file, save it in the draft, and rewrite the message with the attachments when the draft is saved. This would probably also impact how we forward messages, where we can include the attachments. We may have to be a bit efficient about it. For example, if 100MB of attachments have been uploaded, we don't want to rewrite a 100MB email message file each time the draft text is (auto)saved.

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