+2 votes

I had problem that when I read the mail it mark it as read while I want to tell the user for example you have 3 new mail from those sender with those subject and when he logs in to the mail he find them unseen.

I want to also ask if there is complete reference so I can know all I can do.

by

1 Answer

0 votes
 
Best answer

Use Imap.Peek** methods instead of *Imap.Get** (e.g. *Imap.PeekMessageByUID). You can find more information here:
Peek message on IMAP server

If you just need to display subject, from, to, date and you don't need to download entire email, you can use Imap.GetMessageInfoByUID method:
Get most common email information from IMAP fast

You can find Mail.chm file in the download package (it can be found in
the start menu if you've used the installer). Alternatively you can find Mail.dll email component documentation online.

You can also find many Mail.dll samples here.

by (297k points)
...