Can you determine if an email has attachments only from the email header.
If I call the Pop3 command "TOP 1 0", I can determine from the returned data if the message has attachments.
If this is not the case, you can find it with downloading the entire message and counting the attachments.
POP3 does not provide information about the attachment to the header, so no, unfortunately, I'm sure you need to read and parse the entire message.
In any case, not all POP3 servers provide a command TOP.
TOP
? , , Content-Type. , . , , , .
If the content type is "multipart / mixed", then there is an attachment in the element.
Source: https://habr.com/ru/post/1753627/More articles:WCF Native Binding - Content Type Not Supported by Service - .netAre jQuery UI language files hosted on Google CDN? - jquery-uiDownload .wav file from asp.net in Internet Explorer - httpHow to emulate if-else logic with a condition? - conditionalImport profile data into a common analysis and visualization tool - performanceAndroid - service with application life cycle - androidHow to make my site compatible with PCI - pci-dsshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1753630/how-can-i-get-the-changes-from-a-master-repository-in-mercurial-for-a-project-hosted-on-google-code&usg=ALkJrhh__YusNU7qi8BciO27jmKByVnCfwSpring MVC CRUD application using annotations - spring-mvc"\ b" в Java - реализована Windows - javaAll Articles