Can I know if a message have attachments? (General questions)

by Offshore Tech @, (7176 days ago)

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

locked

Re: Can I know if a message have attachments?

by Jasmine, (7176 days ago) @ Offshore Tech

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.

locked