Comments (1)
A1. Short answer: You can't. You can sort of guess based on whether or not the Content-Type header is a multipart or not, but you can't actually know if it contains attachments or not because that information is only available in the headers for each MIME part which cannot be fetched via POP3 without fetching the entire message.
A2. There's no way to do that. The POP3 protocol does not support this at all. The POP3 protocol only gives you 2 commands to work with: TOP which downloads headers + X number of lines after the headers and RETR which downloads the entire message.
With IMAP, you can download individual parts and get the MIME structure w/o having to download the entire message, so you might want to look into using IMAP instead.
from mailkit.
Related Issues (20)
- PreviewText field in MessageSummary is incorrect for the email with charset="ks_c_5601-1987" HOT 14
- Dependencies ERROR HOT 3
- Can SendAsync complete without throwing, but essentially fail to deliver? HOT 3
- How to get folder id for imap server which doesn't have ImapCapabilities.ObjectID capabilities ? HOT 3
- ImapClient.ConnectAsync throws NullReferenceException with OTEL enabled HOT 2
- Virtual-mta value information HOT 1
- Invalid subject parsing from iso-8859-2 HOT 1
- Shared Mailbox Office 365 HOT 3
- Publish a new version with MimeKit 4.7.1 dependency HOT 1
- `System.Formats.Asn1` version clash with framework/netstandard2 HOT 3
- Cannot install, dependency loop detected HOT 4
- New version scheme HOT 3
- SearchQuery for Message-ID / References?? HOT 1
- How to create MailboxAddress instance with punycode in domain part ? HOT 2
- GetMessage error HOT 1
- GetFoldersAsync HOT 1
- IMAP client Authenticate problems with OAuth2 using Google service account HOT 8
- A Link for search Message Text would be nice HOT 11
- Needs better error description HOT 3
- append
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailkit.