Can you determine if an email has attachments from just the email header.
If I call the Pop3 command “TOP 1 0” can I determine from the data returned if message has attachments.
If not is there anyway of find this out with downloading the whole message and counting the attachments.
POP3 does not provide attachment information in the header so no, unfortunately, I’m pretty sure you have to read and parse the entire message.
In any cases, not all POP3 servers provide the
TOPcommand.