-
-
Notifications
You must be signed in to change notification settings - Fork 818
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 download without basing on BodyPart #130
Comments
Does that meet your needs? |
Generally yes, but would be possible to store only something like attachment id/part number? I noticed if two different attachments with same name are in message they have same BodyPart.ToString(). Another update: Basically i will ask: is it possible to download specific attachment having email uid and some unique value from IMessageSummary received by Client.Inbox.Fetch(messagesUids, MessageSummaryItems.Full | MessageSummaryItems.BodyStructure); ? |
I should have probably explained better. You need to ToString() the top-level BodyPart and then, when you are ready to download the specific part, traverse the tree structure again. The PartSpecifier property is calculated based on the nested level of the BodyPart from the root. |
…on a part specifier string Fixes issue #130
The I've added new overrides of |
Yes, I wanted use BodyPart for getting PartSpecifier. Thanks a lot! This is exactly that, what and how i wanted use. |
excellent :-) |
I noticed one thing which is slightly problematic for me. I have scenario:
At the moment i used GetBodyPart, but unfortunately it base on BodyPart class. Is it possible to use something another which is better than class to get part of email? Like index, part descriptor etc - and also is easily serializable for further access.
Maybe i'm annoying with creating issues, but is it possible to create "requests"?
The text was updated successfully, but these errors were encountered: