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
Can't stop downloading of emails with huge attachments #2004
Comments
While it is easy to handle a Ctrl-C in the middle of the download of a Perhaps what we could do is add a configuration parameter to specify the maximum size of a part that we're willing to download automatically. Above this limit, we get a prompt so we can decide to fetch or skip the part. How does that sound? #788 is tangentially related. |
Hmm... a quick glance through the FETCH command of RFC3501 shows a possible solution
|
A related topic is that some users (myself included) would like a way to disable downloading of attachments when viewing emails, until actually trying to view the attachments. I don't think this is currently possible with NeoMutt. Here are a couple of references: https://mutt-users.mutt.narkive.com/tHxtS1zZ/how-to-configure-mutt-to-ask-before-downloading-attachments |
To get there, we need to support IMAP's It will tell us the layout of the email and allow us to make decisions, such as:
Here's the
|
Why does neomutt download attachments once when we open the email by hitting Enter on the message header, then download them all over again when we view the attachments or reply to the email? |
I didn't check the logs. However, the percentage counter that goes from 0 to 100 comes twice, first time when opening the email and second time when opening the attachment. The time delay each time appears to be the same as well.
I am using version 20191207, installed using apt from Ubuntu 20.04.
Thank you,
Raghavan.
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Scott Kostyshak <notifications@github.com>
Sent: Saturday, 5 December 2020, 01:26
To: neomutt/neomutt
Cc: RAGHAVAN VARADHAN KOMONDOOR; Comment
Subject: Re: [neomutt/neomutt] Can't stop downloading of emails with huge attachments (#2004)
Why does neomutt download attachments once when we open the email by hitting Enter on the message header, then download them all over again when we view the attachments or reply to the email?
I had not realized this behavior. You are saying that NeoMutt downloads the same attachments more than once? How did you figure this out? You just noticed a delay, or you checked the NeoMutt debug logs? I will keep an eye out for this to see if I notice the same.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#2004 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AICRGPOSNY4ECUO6TJB2O7LSTE5IFANCNFSM4JSSM5VA>.
|
@komond For me attachments were downloaded THREE times! Something is really broken out there. However in Mutt (with the very same configuration) everything works fine: attachments were downloaded once. neomutt version: NeoMutt 20210205 |
@txgk , neomutt is now downloading attachments three times for me as well. I am now using version 20201127-27-665b82 on ubuntu, in conjunction with "screen". Earlier I used to use version 20191207, and that used to download two times. |
You can use |
Thank you. It seems to work. |
Hi there,
I started an email from my phone (K9, Android) and attached lots of pictures. I didn't realise how large each one was, and i ended up with 179 MB email.
When I went to neomutt to open the draft, it started downloading the whole email, 179 MB of it, without either offering me the option to just download the text part of the email, and not the pictures, or to cancel the download.
So no I'm wastefully downloading 179 MB of data, which could even more of a problem if i was on a metered connection or on a slow downlink.
Expected Behaviour
Neomutt should offer:
NeoMutt Version
Extra Info
Fedora 30
no
yes, tmux
remote: IMAP
The text was updated successfully, but these errors were encountered: