Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

Pop3MessageInfo date offset issue

$
0
0
Hello,
I'm trying to download email from a POP3 server. I would like to download only the information of the message and then check the date of the message. If the date is greater than a value that I previously saved, then I go to fetch the message.
I use this code:

Dim msgInfo As Pop3MessageInfo =  pop.ListMessage(i)
If msgInfo.Date > dateToCheck Then
   ....
   ....
End If

The problem is the offset of the date. If I understand correctly reading other posts, I should add to the Pop3MessageInfo date, the timezoneOffset but I find this property only in the MailMessage object that I get when I fetch the full message. This however requires me to download the entire message that could have attachments with a big size.

Can I somehow obtain the data with the offset without fetching the whole message?

Thanks,
Alessandro

Viewing all articles
Browse latest Browse all 1367

Trending Articles