0 votes

I noticed that when i use GetSpecificHeadersByUID to receive headers for specified messages, these messages are being flagged as seen.

Please let me know if you plan to fix this.

Thanks.

by

1 Answer

0 votes
 
Best answer

It's not a bug.

Please use Imap.PeekSpecificHeadersByNumber and Imap.PeekSpecificHeadersByUID methods that don't set \SEEN flag.

Generally Imap.Peek methods in contrast to Imap.Get methods don't set \SEEN flag.

by (301k points)
...