foens / hpop

OpenPOP.NET code repository
http://hpop.sourceforge.net/
202 stars 115 forks source link

OpenPop.Mime.Message #84

Open scascalesageinfoes opened 5 years ago

scascalesageinfoes commented 5 years ago

HEllo

How i can get GetMessageUid from OpenPop.Mime.Message?

I see i can do client.GetMessageUid but I need to pass integer parameter (not OpenPop.Mime.Message) and OpenPop.Mime.Message doesn't have any

Thanks

jstedfast commented 5 years ago

You need to remember what the index of the message is when you download the message and then call client.GetMessageUid() using that index.

MIME messages do not have a concept of UIDs, only the POP3 protocol does and the UID is only a hack to figure out if you've seen the message before w/o having to download it.