Can I know if a message have attachments? (General questions)
Hello,
I'm testing the POP3 component and I need to know which messages have attachments when I use the method:
oPOP3.Messages.GetAllHeaders
...without download all messages.
Thank's from Barcelona (Spain)
Gerard Llort
Offshore Tech S.L.
www.offshoretech.net
Re: Can I know if a message have attachments?
Gerald,
generaly, you cannot. You can assume that if content-type is multipart/mixed that there are attachments, but this doesn't have to be true in all cases. You really need to download full message to be sure.