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

Flag for attachments (when getting messages with headers only) #59

Open
HeZumbu23 opened this issue Mar 27, 2012 · 4 comments
Open

Flag for attachments (when getting messages with headers only) #59

HeZumbu23 opened this issue Mar 27, 2012 · 4 comments

Comments

@HeZumbu23
Copy link

This is more a feature request than an issue.

It would be great to have some kind of flag indicating that the mail has got attachments, even when only the headers are loaded.

Thank you!

@piher
Copy link
Contributor

piher commented Mar 28, 2012

It is up to you to count the attachments and write it somewhere once you have retrieved the full message because there is no such header.

@HeZumbu23
Copy link
Author

Hi piher,

as I am on a mobile client with small bandwidth, I would have to retrieve the full message just to know if there are attachments or not, which would be not very performant (there is no server side cache for my application)

@piher
Copy link
Contributor

piher commented Apr 5, 2012

I understand.
Well as I said there is no such header so when using a pop3 client I don't think it's possible :-/ But i'm not an expert !
Fortunately, the IMAP commands are more advanced. You should take a look at :
http://stackoverflow.com/questions/4745572/imap-attachement-retriving-commnand
You should be able to implement the function yourself until andy has time to look around here.

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

3 participants
@piher @HeZumbu23 and others